Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99681 - cdrtools source files are encoded in ISO-8859-1, so some text strings look funny in a UTF-8 locale
Summary: cdrtools source files are encoded in ISO-8859-1, so some text strings look fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-20 07:42 UTC by b.eggleston
Modified: 2005-08-06 17:24 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 b.eggleston 2005-07-20 07:42:57 UTC
Specifically the help information has the author's name (J
Comment 1 b.eggleston 2005-07-20 07:42:57 UTC
Specifically the help information has the author's name (Jörg Schilling) as straight text (not using gettext()),  
and the files are encoded in ISO-8859-1, so when viewed using a different locale (e.g. UTF-8) this string  
gets mucked up.   
One solution is to use the -finput-charset=CHARSET (where for this project CHARSET is ISO-8859-1) in the  
cflags.  This would tell gcc to convert the source files while compiling to the default locale. (Allowing both 
ISO-8859-1 and UTF-8 users to enjoy properly encoded strings).  

Reproducible: Always
Steps to Reproduce:
1. emerge cdrtools 
2. use a UTF-8 locale 
3. cdrecord -version 
 
Actual Results:  
The author's name is printed improperly  

Expected Results:  
Printed the name properly
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2005-08-06 17:24:01 UTC
I changed it in the current alpha version.  Probably I'll backport it to the
current stable version.  Thanks for the hint with CFLAGS!