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