• Post Reply Bookmark Topic Watch Topic
  • New Topic

custom component and character encoding

 
Skopin Anton
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I write my own component that represent a tree.
But I have a question.

If i write in jsp page a tag
<h utputText value="main page"/>
where text "main page" in other language (Russian)
JSF will output next html code

(in code i put a space char between all char`s)

I create my component, tag and renderer.

In renderer I create html code for tree

or

where WRITER is a context.getResponseWriter();

In html code that create a component is
not exactly what I want see (see above ).

i.e. that writer not decode russain symbols.

How correct this??

JSF 1.1 jboss 3.2.3 tomcat 4

p.s. sorry for bad english
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this problem coming with your custom component.
Are the other regular JSF components displaying data properly?
 
Skopin Anton
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Varun

Other standart component are displaying data propertly.
And other my custom component also ok.

In other my component i use next code:
(my buttons)

and russian text in this button is ok adn look like

[ April 07, 2005: Message edited by: Skopin Anton ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!