You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Pham Anh Tuan <an...@ichi-corp.jp> on 2005/06/21 13:03:02 UTC

[HELP] I couldn't trim() 1 japanese String (charset UTF-8)

Hi all,

I got 1 problem when I trying to eliminate spaces at ride side and left side of 1 japanese String.

In mySQL I set UTF-8 for both database and my Jsp pages. But in Action, I can't not trim() japanese string, so, when I insert that string to database, spaces are exist.

Plz help me solve this problem! :(

Thanks for ur reading.

Pham