chr
chr(65)
is "A"
in either ASCII or Unicode,and chr(0x263a) is a Unicode smiley face.
Negative values give the Unicode replacement character (chr(0xfffd)),except under the bytes pragma,where low eight bits of the value (truncated to an integer) are used.
If NUMBER is omitted,uses @H_301_22@$_
.
For the reverse,use "ord".
Note that characters from 128 to 255 (inclusive) are by default internally not encoded as UTF-8 for backward compatibility reasons.
总结
以上是内存溢出为你收集整理的perl ASCII码转换函数全部内容,希望文章能够帮你解决perl ASCII码转换函数所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)