From: Stefan F. <ste...@we...> - 2012-01-09 11:50:58
|
Frederick, sorry I thought (again) that those are html-only escapes, instead of the html unicode escapes. So you are right that the fonts used for tooltips on my system does not support japanese characters. Unfortunately there is no general solution for this problem using Java (compare http://java.sun.com/javase/technologies/core/basic/intl/faq.jsp#cjk-font- problem) Therefore I suggest to remove the Japanese characters from the tooltips, I believe that for most players having them on the background map is enough. In general: We had this discussion before and I am a supporter of using true/full UTF-8 support instead of UFT-8 escaping, as there is no standard way of escaping (compare e.g. http://billposer.org/Software/ListOfRepresentations.html). Using your escapes implies that the city names can only be used inside a html body, as the Java escape rules differ. Using true UTF-8 characters avoids that problem. Interestingly the svg-file for the background map you supplied for 1889 contains the city names as true UTF-8 characters. But I know that other opinions differ. Stefan > > I used escapes in the Map.xml in order to avert any ANSI/UTF issue. If > no characters are displayed, that would be caused by some missing > fonts. The tooltips are correctly displayed on my machine. > |