[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-AnyPerl] Unix character set and Windows



I have to write a CGI that will run on a Unix box. The CGI will write 
in a file some comments made by the user. Then this file will be 
fetch by FTP and read on a PC.

I'm wondering what should I do to be sure that the file will be 
readable on a PC (the comments will be in French, so they will 
include high-ASCII).

Should I encode directly all comments in the Windows characters 
table, or in Latin-1(ISO-8859-1), or even in Unicode?

Should I encode the file in HTML and tell the PC user to see the file 
in its browser and save it from there in plain text.

Or maybe encode the comments in Quoted Printable and then put the 
file in the body of the message and let its mailer decode it?

Is there a better strategy?

I know that there is not much differences between the Unix characters 
set and the Windows charset, but I'm a little bit lost here.

Unfortunately, I can't assume that I will be able to use Perl on the 
PC or any other scripting languages.

TIA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Emmanuel M. Décarie - <emm@cam.org>
---> The Frontier Newbie Toolbox:
<http://www.cam.org/~emm/frontierNewbieToolbox.html>

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org