3

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>
4

1 回答 1

10
use utf8;

告诉 Perl 你的程序是用 utf-8 编码编写的。不要使用编码编译指示- 它已损坏。

于 2010-09-30T10:00:24.657 回答