V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dotpig
V2EX  ›  问与答

有什么工具可以列出文本文件中用到的所有字符?

  •  
  •   dotpig · Oct 3, 2016 · 2804 views
    This topic created in 3492 days ago, the information mentioned may be changed or developed.
    最近喜欢上了某个 3DS 火车模拟游戏,但是只有日文版,行驶过程中的各种提示很重要,所以想汉化一下,另外也想深入了解一下 3DS 。现在的问题是需要重新造中文字库,而且需要占用极小内存,所以字库里只能保留用到的字符。
    现在想求教一下,有什么工具能把一个文本文件中用到的字符列出来(不重复的)?
    3 replies    2016-10-03 19:38:04 +08:00
    SCaffrey
        1
    SCaffrey  
       Oct 3, 2016 via iPad
    std::unique ?
    sneezry
        2
    sneezry  
       Oct 3, 2016   ❤️ 1
    dotpig
        3
    dotpig  
    OP
       Oct 3, 2016
    @sneezry 这个完全满足我的需求了。谢谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   824 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:49 · PVG 04:49 · LAX 13:49 · JFK 16:49
    ♥ Do have faith in what you're doing.