On Mon, 2002-03-18 at 18:08, Matt Kraai wrote: > On Mon, Mar 18, 2002 at 04:52:08PM +0000, Philip Blundell wrote: > > On Mon, 2002-03-18 at 16:43, Matt Kraai wrote: > > > If we remove the `@utf-8', does something actually break? > > > > Right now? Yes, dbootstrap selects LC based on the presence of the > > "utf-8" string, so you won't even get off the ground without it. I > > suspect that this kind of thing is quite pervasive, either looking > > directly at LC_CTYPE or inspecting the result of nl_langinfo(LC_CTYPE). > > OK, I see that code now. Do we need to set LC_CTYPE, or could > we use a new variable (e.g., USE_LANGUAGE_CHOOSER) instead? I'm > not exactly sure what the second sentence means: where else is > LC_CTYPE being inspected?
You could do something with USE_LANGUAGE_CHOOSER in that particular instance, yes. The one aspect of the locale that's absolutely vital is that mbrtowc() and the associated functions need to accept UTF-8. Without that, neither slang nor newt will work right. Secondary considerations are things like modconf needing a suitable LC_MESSAGES to make it pick up the UTF-8 strings, and Petter's base-config patch that needs to look at the encoding type in order to decide what terminal to run. p. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]