Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59820 Details for
Bug 89367
UTF-8 guide recommends to use ~/.profile but bash doesn't read it
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
utf-8.xml.diff
utf-8.xml.diff (text/plain), 2.02 KB, created by
Jonathan Smith (RETIRED)
on 2005-05-25 14:43:34 UTC
(
hide
)
Description:
utf-8.xml.diff
Filename:
MIME Type:
Creator:
Jonathan Smith (RETIRED)
Created:
2005-05-25 14:43:34 UTC
Size:
2.02 KB
patch
obsolete
>--- en/utf-8.xml 2005-05-09 10:05:46.000000000 -0400 >+++ utf-8.xml 2005-05-25 17:41:28.636892360 -0400 >@@ -20,8 +20,8 @@ > > <license /> > >-<version>2.0</version> >-<date>2005-05-08</date> >+<version>2.1</version> >+<date>2005-05-25</date> > > <chapter> > <title>Character Encodings</title> >@@ -228,16 +228,23 @@ > <body> > > <p> >-There are two environment variables that need to be set in order to use >-our new UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c>. There are also >-many different ways to set them; some people prefer to only have a UTF-8 >-environment for a specific user, in which case they set them in their >-<path>~/.profile</path> or <path>~/.bashrc</path>. Others prefer to set the >-locale globally. One specific circumstance where the author particularly >-recommends doing this is when <path>/etc/init.d/xdm</path> is in use, because >-this init script starts the display manager and desktop before any of the >-aforementioned shell startup files are sourced, and so before any of the >-variables are in the environment. >+There are two environment variables that need to be set in order to use our new >+UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c>. There are also many different >+ways to set them; some people prefer to only have a UTF-8 environment for a >+specific user, in which case individual users can set locales in their >+<path>~/.bash_profile</path>. >+</p> >+ >+<note> >+If <c>bash</c> is called via the <c>sh</c> symlink, it will attempt to conform to POSIX standards, and will source <path>~/.profile</path> and <b>not</b> <path>~/.bash_profile</path>. To remedy this, you can either list the settings in both files, or you can link the files via <c>ln</c>. >+</note> >+ >+<p> >+Other individuals prefer to set the locale globally. One specific circumstance >+where the author particularly recommends global options is when a graphical >+login manager is in use, because this init script starts the display manager >+and desktop before any of the aforementioned shell startup files are sourced, >+and so before any of the variables are in the environment. > </p> > > <p>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 89367
:
59820
|
60134