• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i18N - character gets displayed as block

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working on i18n , my application supports both English and French display. It is a JSF application and it has got few tabs, when the page is displayed for the very first time the french characters are displaying properly but if i navigate between tabs some characters are getting displayed as blocks.


d�abri is getting displayed as d□abri



I dont think its anything related to JSF so im posting the question here. Any help is appretiated !!

Thanks,
Rajeev
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check for the encoding when you travel between the tabs.
encoding is getting changed somehow and according to the new code page the bytes are not of valid code points and hence rendered as junk value.
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply Rahul.

I had problems with navigation between tabs with French version, i added a filter to set the character encoding of request and response to UTF-8 and it fixed the navigation issue. So i beleive the characterencoding will be always UTF-8. Its working good for all letters with French Accents except for one or two.

Thanks,
Rajeev
 
reply
    Bookmark Topic Watch Topic
  • New Topic