Experience: 11g DBA OCP / VM / Docker / REST / SQLcl / SQLDeveloper / macOS / Linux / Java Developer Continuous improvement The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Tuesday, 27 May 2008
Issue:Square boxes as text characters Solution:Add fonts
Chinese characters in Linux see Debian Chinese How To [1] basically:
create a jre/lib/fonts/fallback directory if necessary and
copy or link the fonts files into this directory. (On my Linux system: /usr/share/fonts/truetype/arphic/gbsn00lp.ttf )
I will install Japanese fonts when the business need arises.
1/If the Japanese characters are square boxes it means the font is not available. http://totierne.blogspot.com/2008/05/issuesquare-boxes-as-text-characters.html
2/If they are question marks (or upside down question marks?) a conversion between character sets has not been found and been defaulted to question mark characters
3/Other issues which unfortunately are likely to have to be fixed individually by development
4 comments:
1/If the Japanese characters are square boxes it means the font is not available. http://totierne.blogspot.com/2008/05/issuesquare-boxes-as-text-characters.html
2/If they are question marks (or upside down question marks?) a conversion between character sets has not been found and been defaulted to question mark characters
3/Other issues which unfortunately are likely to have to be fixed individually by development
Added Japanese chacater set after:
forum post
http://forums.oracle.com/forums/forum.jspa?forumID=260
on reading:
http://www.asahi-net.or.jp/~ik2r-myr/kanji/spanish/linos_es.htm
installed Japanese ttf fonts, and linked them into the fallback directory:
history:
ln -s /usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf .
506 ln -s /usr/share/fonts/truetype/kochi/kochi-gothic.ttf .
507 ln -s /usr/share/fonts/truetype/kochi/kochi-mincho-subst.ttf .
508 ln -s /usr/share/fonts/truetype/kochi/kochi-mincho.ttf .
...jre/lib/fonts/fallback# pwd
...jre/lib/fonts/fallback
Note that Japanese and Chinese can clash allegedly with difference characters for the same unicode point.
For windows example see:
http://forums.oracle.com/forums/thread.jspa?forumID=260&threadID=683208
basically fonts are in /WINDOWS/Fonts..
Post a Comment