Gossamer Forum
Home : General : Perl Programming :

Ask for chinese in perl

Quote Reply
Ask for chinese in perl
Hello all,

I use chinese into perl create html.
print qq | <front>chinese wording</front>

The error on running is "Unrecognized character"
How to fix this problem?


Thx

Gab

------------------
Quote Reply
Re: Ask for chinese in perl In reply to
 http://www.7761.com
Quote Reply
Re: Ask for chinese in perl In reply to
You need to close the statement with |;

Example:

Code:
print qq | <front>chinese wording</front>|;

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us