
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Motoya fc-list output: Mojibake
Nguyen Vu Hung wrote:
> This is the output of fc-list on my Linux: RHEL 4 rev 4, fontconfig
> 2.4.2 ( latest ATM ).
>
> Does anyone knows what is displayed after MotoyaExAporo?
I don't. Here's a way to explore. First isolate and save the mojibake:
fc-list | grep Motoya | cut -d ',' -f 3 | cut -d ':' -f 1 >foo
Then try converting the mojibake from many different encodings,
a few of which to try could be:
iconv -f SJIS -t utf-8 <foo
iconv -f SJIS-WIN -t utf-8 <foo
iconv -f SJIS-OPEN -t utf-8 <foo
iconv -f EUCJP -t utf-8 <foo
iconv -f ISO-2022-JP -t utf-8 <foo
In all this stuff, I recommend avoiding handling the mojibake
by cutting and pasting. Use pipes and I/O redirection instead.
By the way, what's the license on those fonts?
http://www.motoyafont.jp/
http://www.freshports.org/japanese/motoya-ttfonts
http://www.nabble.com/fc-list-output-changes-from-2.2.3-to-2.4.2-t4624602.html
Home |
Main Index |
Thread Index