Opened 16 years ago

Closed 16 years ago

#2390 closed defect (duplicate)

convert russian, brazil docs to UTF-8

Reported by: cbalint Owned by: Mateusz Łoskot
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 (1)

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

Download all attachments as: .zip

Change History (3)

by cbalint, 16 years ago

Attachment: convert.sh added

UTF-8 conversion quick script

comment:1 by mloskot, 16 years ago

Owner: changed from warmerdam to Mateusz Łoskot
Status: newassigned

comment:2 by mloskot, 16 years ago

Resolution: duplicate
Status: assignedclosed

Duplicated as #2391

Note: See TracTickets for help on using tickets.