Reset
V2EX  ›  问与答

请问 'f\x06yvk\xb5\x8f' 这个是什么格式的字符串

  •  
  •   Reset · Dec 16, 2014 · 4037 views
    This topic created in 4339 days ago, the information mentioned may be changed or developed.
    这两天想写个 HDW 的自动签到脚本,然后发现每天都会使用一个不同的字符串验证
    这是网页签到中的字符串: “ZgZ5dmu1jw==”,
    问题是我 base64解码后是这样的: 'f\x06yvk\xb5\x8f' ,
    不知道这个是什么格式字符串?
    3 replies  •  2014-12-16 12:02:59 +08:00
    juicy
    juicy
    Dec 16, 2014❤️1
    1
    其实就是

    f yvkµ
    shidenggui
    shidenggui
    Dec 16, 2014❤️1
    2
    泛化的转义序列,其形式是\x后紧跟1个或多个十六进制数字。假如使用的是Latin-1字符集,解码结果就是f yvkµ
    Reset
    Reset
    OP
    Dec 16, 2014
    3
    @juicy @shidenggui 谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1775 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 278ms · UTC 00:00 · PVG 08:00 · LAX 16:00 · JFK 19:00
    ♥ Do have faith in what you're doing.