File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Letters with accent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Letters with accent" Watch "Letters with accent" New topic

Letters with accent

Micheline Dax

Joined: Mar 22, 2005
Posts: 10
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 :

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,

[ May 16, 2005: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

"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.

Forum Bartender

[Asking smart questions] [About Bear] [Books by Bear]
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
extend and override the custom tag.

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Letters with accent
It's not a secret anymore!