Opened 16 years ago

Last modified 16 years ago

#2391 closed defect

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

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

Description (last modified by warmerdam)

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 (6)

by cbalint, 16 years ago

Attachment: convert.sh added

UTF-8 conversion quick script

comment:1 by mloskot, 16 years ago

The same ticket was submitted as #2390 - closed as duplicate

in reply to:  description comment:2 by cbalint, 16 years ago

Olso attaching a Doxyfile config file, is should go in doc/ru/. Its not possible to build properly russian documentation without. As remark brazil already have Doxyfile config.

by cbalint, 16 years ago

Attachment: Doxyfile added

The missing Doxyfile configuration file.from doc/ru

comment:3 by warmerdam, 16 years ago

Cc: dron ilucena added
Milestone: 1.6.0

comment:4 by warmerdam, 16 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.