cmichael
V2EX  ›  macOS

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

  •  
  •   cmichael · Mar 1, 2021 · 3097 views
    This topic created in 1955 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   ·   5814 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 02:26 · PVG 10:26 · LAX 19:26 · JFK 22:26
    ♥ Do have faith in what you're doing.