language problem redux

Eric Shubert ejs at shubes.net
Mon Mar 2 22:30:11 MST 2009


Jerry Davis wrote:
> I generated a file on our RH 4 linux box using a perl program I wrote from an
> oracle database that is set to utf8.
> 
> I run that very same perl program on my windows box [ using cygwin ] (internally
> set to WINDOWS-1252). This way, I have a benchmark file to look at. This file is
> what it is supposed to look like. The spanish characters and other characters
> come out just fine when typed out at the terminal.
> 
> I tried, on RH4, setting my LANG to en_US.utf8 and generating it, and copied it
> over to windows via sftp (which always copies over in binary mode, I found
> out), and it does not compare.
> 
> I tried, on RH4, setting my LANG to en_US.CP1252 and regenerated it, copied it
> over to windows using sftp, and compared -- no soap.
> 
> so ... does anyone have any ideas that might work? it rankles me that I have to
> run the program on windows to make it do the right thing.
> 
> 

I don't know.
I don't know perl that well either.
That being said, I wonder if perl has its own language 
implementation/features.
Again, I don't know.

-- 
-Eric 'shubes'



More information about the PLUG-discuss mailing list