Opened 16 years ago

Last modified 16 years ago

#2391 closed defect

Convert russian,brazil docs to UTF-8 — at Initial Version

Reported by: cbalint Owned by: warmerdam
Priority: normal Milestone:
Component: Docs Version: svn-trunk
Severity: normal Keywords:
Cc: dron, ilucena

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

Change History (1)

by cbalint, 16 years ago

Attachment: convert.sh added

UTF-8 conversion quick script

Note: See TracTickets for help on using tickets.