perl ASCII码转换函数

perl ASCII码转换函数,第1张

概述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

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码转换函数所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1289174.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-09
下一篇 2022-06-09

发表评论

登录后才能评论

评论列表(0条)

保存