How to convelectr GB2312 To UTF8 in Perl!

xiaoxiao2021-03-06  64

With perl 5.8.2 I Would do this:

Use encode;

$ String = "Text in GB2312";

Encode :: from_to ($ String, "GB2312", "UTF8");

Print $ String;

转载请注明原文地址:https://www.9cbs.com/read-85037.html

New Post(0)