• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Letters with accent

 
Micheline Dax
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody.

I suppose this is a somewhat recurent question, but as always, I didn't managed to find a satisfying answer...

Here is my problem :

- I'm developping an web application for french users that can type accentuated letters in forms.
- I store the information in DB and everything is ok.
- I get it back, display it in jsp (with jstl of course! ), everything still ok.

Now I want to capitalise some words.

I use the apache String taglibs :
<str:upperCase>...</str>

That one correctly uppercase the accentuated letter, (for ex '�' in '�').
Still fine.

But now, I want the <str:upperCase> to transform the accentuated letters
in UNaccentuated letters, for ex '�' in 'E'.

I'm not a 'character encoding' guru, so I humbly beg for any help to solve that problem !

Thanks in advance,

S.
[ May 16, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64620
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"omera omera",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
extend and override the custom tag.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic