aspose file tools*
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
Author

Letters with accent

Micheline Dax
Greenhorn

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 :
<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

Joined: Jan 10, 2002
Posts: 61768
    
  67

"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


[Asking smart questions] [Bear's FrontMan] [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="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Letters with accent