From: Roman Hausner Date: 2006-06-25T01:06:32+09:00 Subject: Re: Ruby, Unicode - ever? Austin Ziegler wrote: > On 13/01/06, Shot - Piotr Szotkowski wrote: >> Yohanes Santoso: >> > How can you have a default collation if there is no default culture. >> Do what other languages do, ask the underlying operating >> system for LC_COLLATE (or ask it to sort the data by itself). > > Which is not really appropriate for all operating systems, and is one > of the *dumbest* things about POSIX. > Can you explain why saying that this way of handling locales is one of the *dumbest* things about POSIX is not the dumbest thing to say? Concerning "all" operating systems: not all OS might use the same mechanism, but any decent OS that wants to support multiple locales will have some mechanism that is not too different from this one. In any case, figuring out which locale to use is definitely something to do based on an OS-setting. Any programming language not supporting the locale mechanism and decent handling of string encodings in all its libraries and functions is really not worth to be called a modern programming language. -- Posted via http://www.ruby-forum.com/.