base64编码可用于多字节UTF-8字符? [英] Can base64 encoding applied to multibyte utf-8 characters?

查看:494
本文介绍了base64编码可用于多字节UTF-8字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否base64编码应用于多字节UTF-8字符?连接的base64 codeD字符串是如何转换回多字节UTF-8字符串?

Can base64 encoding applied to multibyte utf-8 characters ? How base64 encoded string is converted back to multibyte utf-8 string ?

推荐答案

Base64是适用于字节,而不是字符。这取决于你的应用程序转换您的字符串,UTF8与否,他们的字节重新presentation。

base64 is applied to bytes, not characters. It's up to your application to convert your strings, utf8 or not, to their bytes representation.

这篇关于base64编码可用于多字节UTF-8字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆