Language agnostic 理解编码类型

Language agnostic 理解编码类型,language-agnostic,encoding,Language Agnostic,Encoding,我有一个应用程序,它可以将字符串中的每个字符转换为3digit数字,它看起来像ASCII码,但不是那样,我正在尝试找出它,但我无法理解: somefunction(){ a => 934 // a will be converted to 934 b => 933 // b will be converted to 933 1 => 950 // 1 will be converted to 950 0 => 951 // 0 will be co

我有一个应用程序,它可以将字符串中的每个字符转换为3digit数字,它看起来像ASCII码,但不是那样,我正在尝试找出它,但我无法理解:

somefunction(){
   a => 934 // a will be converted to 934
   b => 933 // b will be converted to 933
   1 => 950 // 1 will be converted to 950
   0 => 951 // 0 will be converted to 951
}
我知道ASCII码,但我不明白这一点,请帮助,如果知道这是什么类型的编码类型

谢谢:)

这里有一种可能性(ord返回字符的ASCII值),但我认为您确实需要更多的数据点才能确定

>>> for c in 'ab10': print c, 999 - ord(c.upper())
...
a 934
b 933
1 950
0 951

它可能是自定义编码,为什么您认为它是某种标准方案?