Ticket #2390 (closed defect: duplicate)

Opened 5 years ago

Last modified 5 years ago

convert russian, brazil docs to UTF-8

Reported by: cbalint Owned by: mloskot
Priority: normal Milestone: 1.5.2
Component: Docs Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Since doxygen and latex likes lot more UTF-8 and user will figure hardly out that actual *_ru.dox file are in KOI8-R and not ISO-8859-5 or ISO-8859-15 plus on any distro html/pdf generation fails and looks horibly ugly (random chars) I suggest as a fix to convert tham to UTF-8, and commit back to upstream. The same with brazil docs.

As remark i encountered this packaging for RHEL/Fedora wanted to enable all docs including ru, br.

This request goes only to .dox file, not anything else.

Running this in a shell should fix:

#!/bin/bash # fix russian docs from tarball for ru in find doc/ru/ -type f -name "*.dox"; do iconv -f KOI8-R -t UTF-8 < $ru > $ru.tmp mv -f $ru.tmp $ru done

#!/bin/bash # fix brazil docs from tarball for br in find doc/br/ -type f -name "*.dox"; do iconv -f ISO-8859-1 -t UTF-8 < $br > $br.tmp mv -f $br.tmp $br done

Attachments

convert.sh Download (323 bytes) - added by cbalint 5 years ago.
UTF-8 conversion quick script

Change History

Changed 5 years ago by cbalint

UTF-8 conversion quick script

Changed 5 years ago by mloskot

  • owner changed from warmerdam to mloskot
  • status changed from new to assigned

Changed 5 years ago by mloskot

  • status changed from assigned to closed
  • resolution set to duplicate

Duplicated as #2391

Note: See TracTickets for help on using tickets.