cmichael
V2EX  ›  macOS

请教 textutil 转换导出时中文编码乱码问题?

  •  
  •   cmichael · Mar 1, 2021 · 3060 views
    This topic created in 1930 days ago, the information mentioned may be changed or developed.
    echo $KMVAR_Local__HTML | textutil -inputencoding GB2312 -encoding GB2312 -stdin -stdout -format html -convert rtf | pbcopy
    

    导出到剪贴板,中文为什么会乱码?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1641 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 16:24 · PVG 00:24 · LAX 09:24 · JFK 12:24
    ♥ Do have faith in what you're doing.