I have a tomcat installation including a deployed mesh-cms (a really excellent thing btw
) When moving the whole tomcat from Linux to Windows mesh-cms looses my “german Umlauts”. The reason for that behaviour is described here.
What needs to be done ist do convert my utf-8 encoded files to iso-8859-1 is:
After stopping Tomcat I copied all my content to a new subdirectory called old. From that directory I called
for a in `find . -name \*.html -print`; do iconv -f utf-8 -t iso-8859-1 <”$a” >../”$a” ; done
Which means: Find all .html files and convert them from utf-8 to iso-8859-1 and put them in the same place as they where but 1 level higher.
Before starting Tomcat again please delete the $CATALINA_HOME/work/mesh-cms directory.
Oh, did I mention that the above command works on Linux only ?
Leave a Reply
You must be logged in to post a comment.


