
attractive, usable web applications
Richard's Blog - Design, coding and life in Japan
Stripes in Japanese UTF8
Submitted by Richard on Fri, 10/16/2009 - 09:37I have finally got working with stripes and I must say I love it (So Far) I know not much beats the beauty of ROR but having come from a PHP background I must say stripes seems to make much more sense (to me anyway)
As always when I start a new project in something new I am plagued by language issues as I work mostly in Japanese. But these issues have been smooth and easy to fix.
First Tomcat - I needed to add all of the language filtering and settings that tomcat suggests.
I found details of this on this tomcat wiki
On my DB connection string for JDBC in mysql I needed to use the following jdbc:mysql://127.0.0.1:3306/dvdstarbox?characterEncoding=UTF-8
then finally I needed to convert my UTF-8 based properties in StripesResources.properties.org to ASCII using the following command in my terminal.
native2ascii -encoding UTF-8 StripesResources.properties.org StripesResources.properties
which I found in this helpful post by Cagan
Hopefully in the next couple of weeks I will have my first App done in stripes finished and am already planning the next one.
Tags:
Recent Blog Posts
- Why you should use Rails 3 and not Django 5th Sep 10, 12:28
- Doctrine 2 and why you should use it! 29th Jul 10, 15:23
- How to localize your main blog listing page using Drupal 26th Jun 10, 11:46
- Creating Rails like template helpers in Django 24th Jun 10, 22:01
- Error: No module named messagesdjango.contrib.contenttypes 22nd Jun 10, 22:00