G'day msinfo,
When posting Unicode, it's best to use <pre>...</pre> or <tt>...</tt> tags instead of <code>...</code> or <c>...</c> tags. Here's an example:
$ perl -Mstrict -Mwarnings -le '
use utf8;
binmode STDOUT => ":utf8";
print "एचटीएमल";
'
एचटीएमल
Can you run that code on your command-line? [I don't use Perl on MSWin but I believe you'll need to swap the single- and double-quotes.] What output do you get?
The entity references also render correctly as normal text (at least for me). With this markup:
<p>एचटीएमल</p>
I get this:
एचटीएमल
How does that look in your browser?
[I'm unfamiliar with this script. You say it's "devnagri". I search for this; couldn't find it; the search engine suggested "Devanagari". Is that what you meant?]
-- Ken
In reply to Re: perl writing urf8/utf16 output to cmd screen and html page
by kcott
in thread perl writing urf8/utf16 output to cmd screen and html page
by msinfo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |