Opened 18 years ago

Closed 17 years ago

#2012 closed defect (fixed)

Locale settings in Bash Shell Startup Files needs reworking

Reported by: dnicholson@… Owned by: dnicholson@…
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords: locale
Cc:

Description

From this thread: http://linuxfromscratch.org/pipermail/blfs-dev/2006-June/015387.html

A couple points that are not optimal right now.

  1. LC_ALL should not be set in /etc/profile. Only LANG is necessary.
  1. G_FILENAME_ENCODING=@locale should really be moved to the Glib2 page. I believe we should just have the instruction to append it to /etc/profile.d/i18n.sh on that page.
  1. We really shouldn't redo the locale settings discussion here when there is a much stronger explanation in LFS: http://www.linuxfromscratch.org/lfs/view/development/chapter07/profile.html. We can just place a pointer to that page.

Attachments (2)

i18n-profile.diff (4.5 KB ) - added by dnicholson@… 17 years ago.
Proposed new text for i18n.sh section
i18n-profile-2.diff (4.6 KB ) - added by dnicholson@… 17 years ago.
Fix i18n.sh plus suggested glib2 changes

Download all attachments as: .zip

Change History (8)

comment:1 by dnicholson@…, 18 years ago

Owner: changed from blfs-book@… to dnicholson@…
Status: newassigned

by dnicholson@…, 17 years ago

Attachment: i18n-profile.diff added

Proposed new text for i18n.sh section

comment:2 by dnicholson@…, 17 years ago

Please comment on the attached diff. It tries to accomplish what's in the Description of this ticket. If no one has any problems, I'll commit it.

comment:3 by alexander@…, 17 years ago

Good, although I would also add a pointer to the "locale related issues" page to glib configuration instructions. Also, "GLib assumes" => "By default, Glib assumes".

by dnicholson@…, 17 years ago

Attachment: i18n-profile-2.diff added

Fix i18n.sh plus suggested glib2 changes

comment:4 by dnicholson@…, 17 years ago

Both good suggestions. See new attachment. Wording for the "locale issues" link seems ugly, though.

comment:5 by alexander@…, 17 years ago

I see nothing ugly, and the text can be improved later, anyway.

comment:6 by dnicholson@…, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r6429.

Note: See TracTickets for help on using tickets.