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] font encoding question
- Date: Mon, 18 Jun 2007 04:53:42 +0900
- From: Brian Chandler <brian@example.com>
- Subject: Re: [tlug] font encoding question
- References: <46740232.8070000@sonic.net> <20070616170132.GD16858@P2> <46741FB1.2080102@sonic.net>
- User-agent: Thunderbird 1.5.0.5 (X11/20060728)
steven smith wrote:Edward Wright wrote:On Sat, Jun 16, 2007 at 08:30:58AM -0700, steven smith wrote:What I'm leaning toward is just saying "input must be utf-8" and praying that it is. Doing a split on the input to pull out the individual characters and throwing out white space. I'd then look through the result and compare these against the KANJD212 input (stored as a hash) and warn the user that characters didn't convert if there are problems.
Does this sound like a good approach, and is it sufficient?
Check out Jcode.pm You can convert whatever encoding the browser sent you into whatever you want to use.
Ed
This looks like exactly what I was looking for. Thanks! Sreve S.
But how will you know what the encoding is?
Actually I believe it is simpler than this. If you have a webpage encoded in UTF-8, you can (*) assume that the browser will return form input values in the same encoding.
(*) Disclaimer in margin. Margin too narrow. Oh well.
Brian Chandler http://imaginatorium.org
- Follow-Ups:
- Re: [tlug] font encoding question
- From: steve smith
- Re: [tlug] font encoding question
- From: Stephen J. Turnbull
- References:
- [tlug] font encoding question
- From: steven smith
- Re: [tlug] font encoding question
- From: Edward Wright
- Re: [tlug] font encoding question
- From: steven smith
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: WWWJDIC backdoor issue
- Next by Date: Re: [tlug] font encoding question
- Previous by thread: Re: [tlug] font encoding question
- Next by thread: Re: [tlug] font encoding question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links