[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make Unicode bugs release critical?



On Mon, Feb 14, 2011 at 06:10:37PM -0600, Ron Johnson wrote:
> On 02/14/2011 04:26 PM, The Fungi wrote:
> >You probably don't have an en_GB.utf-8 locale (maybe you have
> >localepurge installed?). I bet en_US.utf-8 will net you different
> >results.
> 
> That's it...
> 
> No localepurge, but when initially building the system, I only
> installed one or two locales.

No one would expect an USian to use a GB locale.

The problem is, there is currently no way to request UTF-8 encoding without
specifying language.  It's a remnant of ancient locales where ISO-8859-1
didn't make sense for pl_PL nor ISO-8859-2 for fr_FR.

Also, iconv() functions are really inconvenient to use, it'd be much easier
to use regular wide char functions predictably.

In other words: can I has C.UTF-8 guaranteed?

-- 
1KB		// Microsoft corollary to Hanlon's razor:
		//	Never attribute to stupidity what can be
		//	adequately explained by malice.


Reply to: