• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Letters with accent

 
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 ]
 
Marshal
Posts: 67478
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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
 
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
extend and override the custom tag.
 
expectation is the root of all heartache - shakespeare. tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic