简体   繁体   English

YOaf/MrA - 什么字符编码?

[英]YOaf/MrA - What character encoding?

What kind of character encoding are the strings below?下面的字符串是什么类型的字符编码?

KDLwuq6IC 
YOaf/MrAT
0vGzc3aBN 
SQdLlM8G7 

https://en.wikipedia.org/wiki/Character_encoding https://en.wikipedia.org/wiki/Character_encoding

Character encoding is the encoding of strings to bytes (or numbers).字符编码是将字符串编码为字节(或数字)。 You are only showing us the characters itself.你只是向我们展示了角色本身。 They don't have any encoding by themselves.它们本身没有任何编码。

Some character encodings have a different range of characters that they can encode.某些字符编码可以编码的字符范围不同。 Your characters are all in the ASCII range at least.您的字符至少都在 ASCII 范围内。 So they would also be compatible with any scheme that incorporates ASCII as a subset such as Windows-1252 and of course Unicode (UTF-8, UTF-16LE, UTF-16BE etc).因此,它们也将与任何包含 ASCII 作为子集的方案兼容,例如 Windows-1252,当然还有 Unicode(UTF-8、UTF-16LE、UTF-16BE 等)。

Note that your code looks a lot like base 64. Base 64 is not a character encoding though, it is the encoding of bytes into characters (so the other way around).请注意,您的代码看起来很像 base 64。 Base 64 不是字符编码,它是将字节编码为字符(反之亦然)。 Base 64 can usually be recognized by looking for / and + characters in the text, as well as the text consisting of blocks that are a multiple of 4 characters (as 4 characters encode 3 bytes). Base 64 通常可以通过在文本中查找/+字符以及由 4 个字符的倍数的块组成的文本(因为 4 个字符编码 3 个字节)来识别。

Looking at the text you are probably looking for an scheme rather than a scheme.查看文本,您可能正在寻找方案而不是方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM