阅读背景:

使用Base64.encode时的Ruby字符编码

来源:互联网 

Looking at the source of Ruby's Base64.encode I cannot determine what character encoding a string is converted to, if at all, before encoding that data in Base64. A Utf-8 string encoded in Base64 is going to be a lot different than a Utf-16 string encoded in Base64. Does Ruby make any promises regarding this operation?Looking at the source of Ruby's Base64.encode I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: