XML Output: libxo - provide single API to output TXT, XML, JSON and HTML
Jordan Hubbard
jkh at turbofuzz.com
Thu Jul 31 21:06:09 UTC 2014
> On Jul 31, 2014, at 1:50 PM, John-Mark Gurney <jmg at funkthat.com> wrote:
>
>> And moving toward UTF-8 won't be simple. I just tossed a couple
>
> If we don't start, we won't ever move forward...
Amen. If you look at $LANG on an OS X box, it’s been set to en_US.UTF-8 for awhile, and that wasn’t without pain. We had to deal with various performance regressions (8x hit to grep(1) over ISO-Latin1!) and various other interoperability problems, but it was ultimately like ripping off a band-aid - better done quickly than slowly, and once done, the constant trickle of I18N bugs more or less shut off entirely.
To put it another way, if FreeBSD doesn’t do it, its downstream vendors will have to. Everything from file names to filesystem names need to be UTF-8 just so they display properly and Japanese users can put their files on /mnt/ホーム/私の会社/ Downstream here in FreeNAS-land, we get I18N requests all the time, and it’s sure a pita when you have the various technologies all *mostly* able to speak UTF-8 but there are routines here and there that just don’t, and trying to make everything work from a user land agent like Samba or Netatalk all the way down the stack is just a PITA, but we still have to do it because it’s not an all-english-all-the-time world we live in.
I’d also not even worry about wide characters. They are a historical artifact and not the direction everyone is going in. UTF-8 FTW.
- Jordan
More information about the freebsd-arch
mailing list