Bug 149013

Summary: uncommented language settings in /home/user/.profile break utf-8 encoding
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Tim Fechtner <timmi>
Component: BasesystemAssignee: Mike Fabian <mfabian>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aj, suse-beta
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tim Fechtner 2006-02-08 09:28:12 UTC
The standard .profile in the home directories contains the following:

# Most applications support several languages for their output.
# To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes)
#
#export LANG=de_DE@euro     # uncomment this line for German output
#export LANG=fr_FR@euro     # uncomment this line for French output
#export LANG=es_ES@euro     # uncomment this line for Spanish output

When I uncomment the line for spanish output, then ISO-8859-15 is used as encoding, instead of UTF8 which is used in the file system, resulting in problems with the file names. Now I use the following line instead:

export LANG=es_ES.UTF-8     # uncomment this line for Spanish output

This should be also in the standard .profile!
Comment 1 Andreas Jaeger 2006-02-08 09:55:52 UTC
Mike, what do you suggest?
Comment 2 Mike Fabian 2006-02-08 10:04:19 UTC
The user is right, we should use UTF-8 in the examples as well.
Comment 3 Mike Fabian 2006-02-09 15:51:05 UTC
Already fixed by Werner Fink <werner@suse.de>.
Comment 4 Mike Fabian 2006-02-09 15:52:02 UTC
Fixed for 10.1:

* 水 11月 23 2005 - werner@suse.de
- Use UTF-8 examples in template of skeleton profile (bug #116865)
- Use english comments in template of skeleton exrc (bug #116867)
Comment 5 Mike Fabian 2006-02-09 15:52:38 UTC

*** This bug has been marked as a duplicate of 116865 ***