0

I created a CustomLayout but doesn't work encoding. Here in Brazil we use accentuation on some words but when I display my CustomLayout this words show < ? >.

Example: Nação(nation)-> displayed Na< ? >< ? >o.

How to set encoding in vaadin 7 ?

FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118

1 Answers1

0

Vaadin uses UTF-8 so save your CustomLayout file in UTF-8 and it will work.

Henri Kerola
  • 4,947
  • 1
  • 17
  • 19
  • @FernandoPaiva In your editor/IDE define that you save your files in UTF-8. For example in Eclipse go to `Preferences -> General -> Workspace -> Text file encoding`. – Henri Kerola Feb 05 '14 at 19:13
  • my eclipse is set with UTF-8 and in my TomCat6 that I use to test does work normal but when I create war file and deploy in other TomCat6(official) server that I use after finish the project doesn't work. – FernandoPaiva Feb 05 '14 at 19:53