- This topic has 4 replies, 3 voices, and was last updated 20 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
P.G.TaboadaMemberHi everybody,
I did find soeme threads on this topic, but unfortunately none of them solved my issue. In fact I would like to understand what is happanening with my app, so here is my cry for help:
I have some JSPs, custom (some of them self written) taglibs and some java classes in my app – so far so good.
first questions: what encoding do my sources have? Does the encoding change when I change the values in the workbench and myeclipse settings? Do I have to open and save them?
I would like to everything in UTF-8. How do I discover the actual encodung of a JSP and from a java file in Eclipse?my webapp does have a front-controller tight to the “index.jsp” file. There I did setup things like pageEncoding and charset to point to UTF-8.
Although eclipse shows every Ü and Ä right, its not working in the browser. HTTP headers are correct (charset is UTF-8 and mozilla is setting the right content type encoding). But Üs and Äs are still scrambled.
Question: what ist transfer-encoding http header and what is “chunked”???
I would appreciate some background notes and some advices to ths topic.
brgds,
p.g.taboada
Riyad KallaMemberp.g.
As far as MyEclipse is concerned the JSP editor should honor your encoding settings either via the default encoding or by setting the pageEncoding attribute in the files themselves.
As far as the browser is concerned, make sure (View > Character Encoding > UTF-8) that you are viewing your own pages using the correct encoding. The rest of the questions I’m not sure about.
P.G.TaboadaMemberHi,
thanks a lot for your reply. I hoped it would be that easy, but it seems I have some real trouble here. f I find the solution I’ll post it here.
brgds,
papick g. taboada
ballmoreMemberHi,
may i ack any question
i use charset ( euc-kr )
how setting myeclipse
Riyad KallaMemberballmore,
You can set this in your Workbench default editor settings and you can set the page directives “pageEncoding” attribute to that locale as well if you need to, that should do the trick. -
AuthorPosts