Richard Jelinek wrote:
Well, an improperly set up system locale is bound to give you all kinds of problems once you deal with language-specific issues anyway. Even Java at some points makes use of the system locale.Ths advantage is illusional - unfortunately. llusional in the sense, as the "some problems" it seems to solve rely on a well set up environment on the OS side. Which isn't always the case. Moreover,
Do you mean that if, for example, I use \w in a regular expression it will work properly for Czech texts but fail on Turkish ones on that particular machine? AFAIK this is the intended behaviour of use locale, isn't it? This certainly doesn't solve the problem at hand but it doesn't make use locale a flawed solution either (just maybe not the right solution in this case).That is: If a user on a "czech host" with correctly set up czech locale tries to process czech text, it will be ok. However, if the same user on the same host, tries to process turkish text: *boom*
-- Best regards, Bjoern Wilmsmann
PGP.sig
Description: This is a digitally signed message part