digitv
V2EX  ›  问与答

protobuf 里的二进制怎么转成对应的中文

  •  
  •   digitv · Apr 30, 2019 · 3122 views
    This topic created in 2578 days ago, the information mentioned may be changed or developed.

    ShortDebugString 打出来后是 这样的字符串,\351\234\234\347\263\226,怎么转成中文?

    1 replies    2019-04-30 18:23:53 +08:00
    Mutoo
        1
    Mutoo  
       Apr 30, 2019
    UTF8 编码的话,用 Utf8DebugString()
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1183 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 23:18 · PVG 07:18 · LAX 16:18 · JFK 19:18
    ♥ Do have faith in what you're doing.