Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Re: font/char set question
- Date: Tue, 31 Jul 2007 04:14:06 +0900 (JST)
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Re: font/char set question
- References: <5634e9210707282051g6d4ac8b9l1ba725231bdff464@mail.gmail.com> <d8fcc0800707290802x2c9798dj411fc5400e8b8d6f@mail.gmail.com> <46AD1954.1080209@dcook.org> <d8fcc0800707291946s531f3353y8e0124d8e12cb071@mail.gmail.com> <Pine.NEB.4.64.0707301307430.28098@homeric.cynic.net> <46ADC95A.2040200@dcook.org>
On Mon, 30 Jul 2007, Darren Cook wrote:
...it is that doubt that keeps Amazon using Shift-JIS. Though if they are actually doing the conversion at the gateway, surely there is not room for doubt? Or do more modern phones use a different gateway?
There is always room for doubt. :-)
If having Japanese display properly to Japanese overrides all other considerations, defaulting to Shift_JIS when you are not sure that the terminal supports UTF-8 is the correct choice, IMHO.
The biggest problem I've so far had with "everything in UTF-8" is when a client exports our database into Shift-JIS to use in a legacy (address label printing) system. It is not so much people inputting Chinese, or European accents, the problem was question marks appeared in addresses and the P.O. couldn't deliver. It turns out there are many more kinds of hyphens in UTF-8 than in Shift-JIS, and so people end up using them.
Fascinating!
So now my forms collect data in UTF-8, convert the known problem hyphen characters, then convert to Shift-JIS, then convert back to UTF-8, and if the start and end string are not the same I give the user an error message and tell them not to use weird characters.
That's one solution. A better one might be to use the Post Office database; that will do an even better job of ensuring deliverability, and you may well find that you can set up a UI that will allow easier and faster input, as well.
cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Mobile sites and software consulting: http://www.starling-software.com
- References:
- [tlug] Re: font/char set question
- From: Jim Breen
- Re: [tlug] Re: font/char set question
- From: Josh Glover
- Re: [tlug] Re: font/char set question
- From: Darren Cook
- Re: [tlug] Re: font/char set question
- From: Josh Glover
- Re: [tlug] Re: font/char set question
- From: Curt Sampson
- Re: [tlug] Re: font/char set question
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: font/char set question
- Next by Date: Re: font/char set question: keitai: non-support of stuff is a feature . . . . . . . . [tlug]
- Previous by thread: Re: [tlug] Re: font/char set question
- Next by thread: RE: [tlug] Re: font/char set question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links