digitv
V2EX  ›  问与答

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

  •  
  •   digitv · Apr 30, 2019 · 3284 views
    This topic created in 2677 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   ·   Privacy   ·   Solana   ·   2791 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:45 · PVG 19:45 · LAX 04:45 · JFK 07:45
    ♥ Do have faith in what you're doing.