哪个编码使用\x(反斜杠x)前缀? [英] Which encoding uses the \x (backslash x) prefix?

查看:117
本文介绍了哪个编码使用\x(反斜杠x)前缀?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试用 \x 对某些特殊字符前缀的文本进行解码。我已经手工制定了以下映射:

I'm attempting to decode text which is prefixing certain 'special characters' with \x. I've worked out the following mappings by hand:

\x28   (
\x29   )
\x3a   :

e.g. 12\x3a39\x3a03 AM

有谁知道这个编码是什么?

Does anyone recognise what this encoding is?

推荐答案

它是 ASCII 。四个字符 \xST 的所有出现都将转换为1个字符,其ASCII代码为 ST (在十六进制),其中 S T 0123456789abcdefABCDEF 中的任何一个。

It's ASCII. All occurrences of the four characters \xST are converted to 1 character, whose ASCII code is ST (in hexadecimal), where S and T are any of 0123456789abcdefABCDEF.

这篇关于哪个编码使用\x(反斜杠x)前缀?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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