language problem redux
Jerry Davis
jdawgaz at cox.net
Tue Mar 3 16:12:03 MST 2009
On Tue, 3 Mar 2009 11:03:55 -0700
Dazed_75 <lthielster at gmail.com> wrote:
> On Mon, Mar 2, 2009 at 10:05 PM, Jerry Davis <jdawgaz at cox.net> 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.
>
>
> Jerry, it would probably be useful to your helpers if you gave some
> indocation of in what way it does not compare. Though I do not suggest this
> is your answer, an example might be that the version from linux had line
> feeds while the version from cygwin on Windoze had both carriage returns and
> line feeds. So do a diff and capture the output in some form we can see.
>
> >
> >
> > 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.
> >
> >
> > --
> > Happy Trails!
> > Jerry (K7AZJ)
> > Hobbit Name: Pimpernel Loamsdown
> > Registered Linux User: 275424
> > This email's random fortune:
> > You will inherit millions of dollars.
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
>
>
>
I'm off today, but my perl program creates a file with \r\n as the line endings.
When I say they don't compare, I am not talking about line endings. I am fully
aware of those. I am talking about the actual spanish characters.
I will send the fragments when I get back to the office
--
Happy Trails!
Jerry (K7AZJ)
Hobbit Name: Pimpernel Loamsdown
Registered Linux User: 275424
This email's random fortune:
What I tell you three times is true.
-- Lewis Carroll
More information about the PLUG-discuss
mailing list