Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-11 Thread David Schlegel
/2005 10:42 AM To David Schlegel/Lexington/[EMAIL PROTECTED] cc perl-unicode@perl.org Subject Re: Converting between UTF8 and local codepage without specifying local codepage [EMAIL PROTECTED] said: > ... I have also come to the realization that Perl is not using the > under

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-11 Thread David Schlegel
t said it didn't have an encoding for it. David Graff <[EMAIL PROTECTED]> 11/11/2005 10:42 AM To David Schlegel/Lexington/[EMAIL PROTECTED] cc perl-unicode@perl.org Subject Re: Converting between UTF8 and local codepage without specifying local codepage [E

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-11 Thread David Schlegel
cc David Graff <[EMAIL PROTECTED]>, perl-unicode@perl.org Subject Re: Converting between UTF8 and local codepage without specifying local codepage On Wed, Nov 09, 2005 at 10:02:31AM -0500, David Schlegel wrote: > That is helpful information. I have been spending time to determine t

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-11 Thread David Graff
[EMAIL PROTECTED] said: > ... I have also come to the realization that Perl is not using the > underlying system code pages but is relying on its own encoding objects > to handle conversions. Since only a small set of encoding objects are > available by default this would mean that I would need to

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-09 Thread David Schlegel
ECTED]> 11/09/2005 05:49 AM To David Schlegel/Lexington/[EMAIL PROTECTED] cc David Graff <[EMAIL PROTECTED]>, perl-unicode@perl.org Subject Re: Converting between UTF8 and local codepage without specifying local codepage On Tue, Nov 08, 2005 at 05:08:08PM -0500, David Schlegel wro

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-09 Thread Nicholas Clark
On Wed, Nov 09, 2005 at 10:02:31AM -0500, David Schlegel wrote: > That is helpful information. I have been spending time to determine the > local page by other means but have consistently been challenged that this > is the wrong approach and that Perl must know somehow. Getting a > definitive an

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-09 Thread Nicholas Clark
On Tue, Nov 08, 2005 at 05:08:08PM -0500, David Schlegel wrote: > And yes, figuring out the local code page on unix is particularly > squirrelly. The codepage for "fr_CA.ISOxxx" is pretty easy but what about > "fr_CA" and "fr" ? There are a lot of aliases and rules involved so that > the locale

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-08 Thread David Schlegel
07/2005 08:20 PM To David Schlegel/Lexington/[EMAIL PROTECTED] cc perl-unicode@perl.org Subject Re: Converting between UTF8 and local codepage without specifying local codepage [EMAIL PROTECTED] said: > Is there someway to convert from "whatever" the local codepage is

Re: Converting between UTF8 and local codepage without specifying local codepage

2005-11-08 Thread David Graff
[EMAIL PROTECTED] said: > Is there someway to convert from "whatever" the local codepage is to utf8 > and back again ? > > The Encode::encode and decode routines require passing a specific > codepage to do the conversion but finding out what the "local codepage" > is is very tricky across differ

Converting between UTF8 and local codepage without specifying local codepage

2005-11-07 Thread David Schlegel
Is there someway to convert from "whatever" the local codepage is to utf8 and back again ? The Encode::encode and decode routines require passing a specific codepage to do the conversion but finding out what the "local codepage" is is very tricky across different platforms, particularly UNIX whe