> 
> I am working on the Chinese registration form, first time I do that, but
> have a lot of questions.
> 
> 1) The user will type in Chinese character, simple, on my form but how
will
> I know if I am capturing the Chinese character correctly so that I can
save
> to a flat file.
> 2) The submitted data will be saved to a tab delimited flat file. We will
> just open the flat with excel to view the data. The question is how can I
> save the data to the flat file so that I can view the Chinese character in
> excel? I tried to copy and paste some Chinese character in note pad then
> open with excel. It works if I save the file in Unicode format.
> 3) My perl cgi script will display some Chinese message interactively. I
> have a lot of problem when I tried to embed Chinese character with my
code.
> 

You should probably start by reviewing:

http://perldoc.com/perl5.8.4/pod/perluniintro.html
http://perldoc.com/perl5.8.4/pod/perlunicode.html

Which will cover unicode details as they relate to Perl.  From there the
only thing I know that you will need to do differently in CGI is to
specify a charset back to the browser (though I could be wrong). 

Have you been through those docs?  Always the best way is to dive in and
give it a shot, then ask more specific questions...

http://danconia.org


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to