tags:

views:

105

answers:

1

I need to write Arabic words as labels inside a .pm file. It is not working for me. I tried ASCII letters and they worked. Is there a better way to do so?

I tried something like:

<span dir="rtl" lang="ar">&#1593;&#1585;&#1576;&#1610;</span>
+10  A: 
use utf8;

tells Perl that your program is written with utf-8 encoding. Do not use encoding pragma - it is broken.

Alexandr Ciornii
[The `encoding` pragma is broken.](http://stackoverflow.com/q/492838#493508)
daxim