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 -- solved sort of.
- Date: Tue, 26 Feb 2008 18:54:28 -0800
- From: steven smith <sjs@example.com>
- Subject: Re: [tlug] utf form problems -- solved sort of.
- References: <47C3B7E0.9020906@sonic.net> <83a2a4180802260713h21d40a48s511a3d576d54b31a@mail.gmail.com>
- User-agent: Thunderbird 1.5.0.14pre (X11/20071023)
Marty Pauley wrote: > Hello ... > $ perl -MURI::Escape -wle 'print uri_unescape "%E5%8A%A9";' > 助 This was the key I needed to get rolling again. Thanks Marty and everyone else. My test script seems to work if I take out all the utf flags (ie: use utf8, use open ':utf8', use open ':std', -CO) but I have other scripts on the same machine using the same perl that give me warnings about trying to print a wide character if I print try to print utf-8. As I read the documents, I should have STDOUT open using utf-8 and if there is utf-8 code in the file, I should also have a 'use utf8' in the file, but in this case, doing either will cause problems. I don't like this... I guess for now I'll keep going on this script and see where I end up. Hopefully I won't be back again tomorrow with the same sad story... Marty -- you said not to read STDIN directly and I understand why (I think) but -- just how do you read STDIN in a situation like this. Thanks everyone for the help. This has been -- um -- interesting. At least now I know (sort of) what an entity is and how to decode and check my input strings and what they should look like. I have perl mongers tonight and will ask around, but most of us over here are pretty helpless when it comes to anything beyond ascii. I think I'm the only one in my group really doing much with anything like this. Steve S.
- Follow-Ups:
- Re: [tlug] utf form problems -- solved sort of.
- From: Marty Pauley
- References:
- [tlug] utf form problems
- From: steven smith
- Re: [tlug] utf form problems
- From: Marty Pauley
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] utf form problems
- Next by Date: Re: [tlug] utf form problems
- Previous by thread: Re: [tlug] utf form problems
- Next by thread: Re: [tlug] utf form problems -- solved sort of.
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links