Ticket #2390 (closed defect: duplicate)
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

