RE: trouble understanding unicode

2009-03-27 Thread Chris Wagner
Sorry for being contrarian here, but this is wrong. Unconditionally blowing away control characters is not the right way to do anything. Using Perl's own encoding disciplines is the right way to do this. While this tr// may work in this case and on other simple files, u just don't know what legi

Re: trouble understanding unicode

2009-03-27 Thread Justin Allegakoen
Not at all. In fact I concede. This largely depends on the user's locale. Just in 2009/3/27 Chris Wagner > Sorry for being contrarian here, but this is wrong. Unconditionally > blowing > away control characters is not the right way to do anything. Using Perl's > own encoding disciplines is the

Re: trouble understanding unicode

2009-03-27 Thread Mark Leighton
Hi Greg et al, Attached is my boilerplate routines for dealing with Unicode on Win32 and a couple of samples. Cheers, Mark --- Mark Leighton CLIC LAN Supervisor, Information Commons, University of Toronto E-mail: mark{DOT}leighton{AT}utoronto.ca Original Message Subject: