Re: CGI and UTF

2003-01-19 Thread Benjamin Franz
to 5.8. Thank you. -- Benjamin Franz If the code and the comments disagree, then both are probably wrong. -- Norm Schryer, Bell Labs

Re: CGI and UTF

2003-01-05 Thread Benjamin Franz
On Sun, 5 Jan 2003, Jarkko Hietaniemi wrote: I repeat: all your filehandles are still 'binary' unless you either explicitly (binmode) Fine. or implicitly (locale) command them not be. Not fine without a warning. This is 'action at a distance' (this is the same reason un'local'ized usage of

Re: CGI and UTF

2002-11-24 Thread Benjamin Franz
' try to muck with charset encodings; 5.8.0 has specifically realized those fears as quite justified. -- Benjamin Franz I should either have been less specific or more correct ... ---Andy Armstrong [EMAIL PROTECTED]

Re: Japanese text search problem

2001-08-08 Thread Benjamin Franz
On Wed, 8 Aug 2001, Dan Kogai wrote: on 01.8.8 1:14 AM, Benjamin Franz at [EMAIL PROTECTED] wrote: On Tue, 7 Aug 2001, Ashutosh Salgarkar wrote: my $safe_key = quotemeta($key1); $searchStr =~ m/$safe_key/; is probably what you want. I am presuming you are trying to use m

Re: Japanese text search problem

2001-08-07 Thread Benjamin Franz
regex facilities. -- Benjamin Franz Programs must be written for people to read, and only incidentally for machines to execute. ---Abelson and Sussman

Re: iso-2022-jp, adding encodings..

2001-06-18 Thread Benjamin Franz
difficult. If you are looking for the 'I don't care if it is 7, 8, 16 or 32 bits, I just want it to work' module, that is what 'Unicode::MapUTF8' is for. -- Benjamin Franz I am starting to get seriously annoyed by the list's default of sending replies only to the 'From:' address.

Re: iso-2022-jp, adding encodings..

2001-06-15 Thread Benjamin Franz
On 15 Jun 2001, Andreas Marcel Riechert wrote: Benjamin Franz [EMAIL PROTECTED] writes: my $sjis_string = from_utf8({ -string = $utf8_string, -charset = 'iso-2022-jp' }) I hope I will never have to maintain such a code. I could spend hours to find out

system 'iconv' considered harmful. was: Source data for perl encodings

2001-01-08 Thread Benjamin Franz
(possibly after XSing them for performance) than that. Better no direct support for national encodings than automatically and *system dependantly* broken support. -- Benjamin Franz ... with proper design, the features come cheaply. This approach is arduous, but continues to succeed

Re: converting SJIS to UTF-8

2001-01-04 Thread Benjamin Franz
(to_utf8); my $utf8_string = to_utf8({ -string = $sjis_string, -charset = 'sjis', }); -- Benjamin Franz ... with proper design, the features come cheaply. This approach is arduous, but continues to succeed