On 20/04/2009, Mark Thomas <ma...@apache.org> wrote: > sebb wrote: > > On 20/04/2009, Mark Thomas <ma...@apache.org> wrote: > >> Mark Thomas wrote: > >> > Looks like we need to run native2ascii over a quite a few French and > >> > German files. > > > > Surely the ISO-8859-1 (Latin-1) character set supports most accents in > > Latin languages, so there should be no need to use Unicode escapes for > > these? > > > I would have expected it to work but it appears that it doesn't. It is
I would have too - which is why I wrote this reply - but that obviously changes things. > probably related to the users default platform encoding. I suspect the > issues are when a user is using something other than ISO-8859-1 or UTF-8 > but I haven't done any testing to prove this. > > > Looks to me like the problem with the Spanish version is due to a > > packaging error in the tomcat-I18n-es.jar file, which contains > > corrupted copies of the original files. > > > The issue appears to be wider than that. > > > > Using Unicode escapes should prevent this packing error from > > recurring, but seems rather a drastic measure, as it makes the > > properties files rather harder to read. > > > Preventing the packaging error is not my primary motivation with these > patches. My primary motivation is making sure these files work as > intended for all users. OK, point taken. > In the rare cases where someone needs to work on these files and wants > to do it in native form it is trivial to use native2ascii to convert the > files to native form, edit them and then convert them back. > > > Mark > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org