[OpenIndiana-discuss] Locale problems in OI.... seems not to work???

Hans J. Albertsson hans.j.albertsson at branneriet.se
Thu Apr 4 17:37:19 UTC 2013


Can someone point me to where in the OI source repository to find the 
sources involved for "locale" so I could see what the problem might be. 
I've tried to look it up, but there's no map of what is where, and I'd 
rather avoid downloading everything.

On 2013-04-04 19:15, Hans J. Albertsson wrote:
> I'm having problems with the locale command.
>
> I fully expected the command
>
> locale -m
>
> to print out the charmap for my locale (which is sv_SE.UTF-8), but it 
> says the charmap isn't available.
>
> locale -ck alpha
>
> prints out ("\ <newline>" manually added for clarity)
> -----
> hans at klaus%93%19:03> locale -ck alpha
> LC_CTYPE
> alpha="A";"B";"C";"D";"E";"F";"G";"H";"I";"J";"K";"L";"M";"N";"O";"P";"Q";"R";"S";"T";"U";"V";"W";"X";"Y";"Z";\ 
>
> "a";"b";"c";"d";"e";"f";"g";"h";"i";"j";"k";"l";"m";"n";"o";"p";"q";"r";"s";"t";"u";"v";"w";"x";"y";"z" 
>
> -----
>
> which would be true only for a "C" or "POSIX" locale.
>
> the same error occurs for all other 8bit locales I've tried.
>
> Collation in file listings is done correctly in all 8bit locales, so 
> possibly this is only a problem with the locale command.
>
> One would expect a locale management command to be locale aware.... :-(
>
> I actually have a use for a correctly working locale command.
>
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the OpenIndiana-discuss mailing list