Subj : Re: SpiderMonkey: JS_InitStandardClasses allways fails To : netscape.public.mozilla.jseng From : =?ISO-8859-1?Q?Georg_Maa=DF?= Date : Thu May 15 2003 08:21 am Brendan Eich wrote: > What character set encoding does "most system stuff" expect to be in a > char array passed via a char * formal parameter? ASCII? ISO-Latin-1? > A multi-byte encoding? The encoding defined by the C locale which is the only locale with known name which is guaranteed to be allways present. No other locale is used, because neither their names are known, because there is no naming standard nor their presence is guaranteed. Trying to uses them requires a dialog to present them and select one. But HTTP is not a "dialog protocol" but a "hit me to make my cry protocol". On a server application that handles HTTP request, this would require configuring the locales by the administrator. This is only useful is the administrator of the server side application is root, because root manages the locales. I don't want my application to depend on users being root. .