Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85668 - Bad messages with cp1251 charset
Summary: Bad messages with cp1251 charset
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Steve Arnold
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-17 11:38 UTC by Alexander Zaika
Modified: 2005-06-06 07:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Zaika 2005-03-17 11:38:56 UTC
If I wrote comments in koi8-r I set only OUTPUT_LANGUAGE = Russian and all is      
ok.      
If I wrote comments in cp-1251 I set OUTPUT_LANGUAGE = Russian and      
USE_WINDOWS_ENCODING = YES. In this case in output files all my comments are ok     
but instead system messages created by doxygen I have question marks.  
 
For example I have: ??????? ???????? Doxygen 1.3.9.1 
Must be: БЮЧФРЭЮ бШбвХЬЮЩ Doxygen 1.3.9.1 
 
This happens because all system messages are written in koi8-r and if I set  
USE_WINDOWS_ENCODING to YES those messages are translated first into UTF then 
cp-1251. 
Doxygen tranlates UTF into cp-1251 with the help of qtextcodec, but in 
qtextcodec tables of encoding is off (by #ifndef QT_NO_CODECS). My patch 
activades this tables. 

PS. I posted this information on doxygen but havent response, please include path from http://bugzilla.gnome.org/show_bug.cgi?id=166209 to your distribution

Reproducible: Always
Steps to Reproduce:
see details

Actual Results:  
see details 

Expected Results:  
see details :) 

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, 
glibc-2.3.4.20040808-r1, 2.6.10-vse i686) 
================================================================= 
System uname: 2.6.10-vse i686 AMD Athlon(tm) XP 1700+ 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 16 2005, 
14:32:04)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="ru_RU.cp1251" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/opt/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowex X Xaw3d a52 aalib accessibility acl adns aim alsa 
apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bindist 
bitmap-fonts bonobo bzlib cdparanoia cpdflib crypt ctype cups curl 
curlwrappers dbx dga dio divx4linux dvb dvd dvdr dvdread emacs emacs-w3 emboss 
encode esd exif fam fastcgi ffmpeg fftw flac flash font-server foomaticdb 
freetds freetype ftp gd gdbm ggi gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 
gtkhtml httpd iconv icq imagemagick imap imlib inifile innodb ipv6 ithreads 
jabber jack java jpeg junit kde kerberos krb4 ladcca lcms ldap lesstif libcaca 
libg++ libwww lirc mad maildir mailwrapper mbox mhash mikmod milter mime ming 
mmap mmx mmx2 mng mnogosearch motif mozilla mp3 mpeg mpeg2 mpi msn msql mssql 
mysql mysqli nas ncurses network nls nptl nvidia ogg oggvorbisopenal opengl 
oscar oss pam pcre pda pdflib perl php png pnp portaudio posix postgres python 
qt quicktime readline real recode rtc ruby samba sasl scanner sdl shared 
sharedmem simplexml slang slp sndfile snmp speex spell sqlite sse ssl stream 
svg svga sysvipc szip tcpd tetex theora threads tiff tokenizer truetype 
truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd videos vorbis wmf 
wxwindows xface xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid 
yahoo zeo zlib linguas_uk linguas_ru linguas_en" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-03-30 11:02:25 UTC
Do not file ebuild bugs under the Developer Relations product.
Comment 2 Steve Arnold archtester gentoo-dev 2005-05-29 19:20:41 UTC
Well, apparently there's been no movement on the Gnome bug, so the patch is in 
the new 1.4.3 ebuild.  Give it a try...
Comment 3 Alexander Zaika 2005-06-06 07:05:14 UTC
All work fine :)