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] utf form problems
- Date: Wed, 27 Feb 2008 10:49:03 -0800
- From: steven smith <sjs@example.com>
- Subject: Re: [tlug] utf form problems
- References: <47C3B7E0.9020906@sonic.net> <47C3BB7C.2000605@ldp.jp> <47C4491A.6010002@sonic.net> <47C49FF8.1090107@samsara.bebear.net> <47C4B08D.907@sonic.net> <82c89d700802271034s26138f60k6c1b3c54e0648764@mail.gmail.com>
- User-agent: Thunderbird 1.5.0.14pre (X11/20071023)
David Shanahan wrote:Thanks David. This all looks really promising. I mentioned unicode/utf problems at the Perl Mongers last night (I'm in Northern California) and two people groaned but no one else knew what I was talking about. Part of the problem is knowing even where to start, and this looks really good.
Sounds like perl might be treating your string as bytes rather than a unicode string, then muching them on output.
You should read the docs on the Encode module; perldoc Encode
You may need to do $string = decode("utf8", param("stuff")); to tell perl the %E5%8A%A9 bytes from the form is actually utf8 string
also look at the docs on the -C option to the perl command (or the PERL_UNICODE environment variable) perldoc perlrun
and finally this has more background on utf8/unicode support in perl perldoc perlunicode
I appreciate all the help from you tlug'ers. This is starting (barely) to make sense.
Thanks Steve S.
- Follow-Ups:
- Re: [tlug] utf form problems
- From: Daniel A. Ramaley
- Re: [tlug] utf form problems
- From: Curt Sampson
- References:
- [tlug] utf form problems
- From: steven smith
- Re: [tlug] utf form problems
- From: Brett Robson
- Re: [tlug] utf form problems
- From: steven smith
- Re: [tlug] utf form problems
- From: Edward Middleton
- Re: [tlug] utf form problems
- From: steven smith
- Re: [tlug] utf form problems
- From: David Shanahan
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] utf form problems
- Next by Date: [tlug] Re: [Announcement] TLUG Technical Meeting 2008-03-08
- Previous by thread: Re: [tlug] utf form problems
- Next by thread: Re: [tlug] utf form problems
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links