aspose file tools*
The moose likes JSP and the fly likes Problem with Russian characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with Russian characters" Watch "Problem with Russian characters" New topic
Author

Problem with Russian characters

Sergey Kargopolov
Ranch Hand

Joined: Jul 04, 2003
Posts: 63
Hello!
my JSP page has problems displaying Russian characters.
There are two pages:
The first page is Index.jsp - no problems with this page. At the top it has @ page and it's charset set to windows-1251. All Russian characters are OK on this page.
Second page is upper_menu.jsp! This is the page that is being included in Index.jsp using jsp:include page="upper_menu.jsp". This page has Russian charactes which do not display properly inside of Index.jsp.
This is what I see instead of Russian chars - \u043D\u0438\u0438

Where to look for the cause of this problem?
Sergey Kargopolov
Ranch Hand

Joined: Jul 04, 2003
Posts: 63
Please ignore my posting. The problem is solved.
I am using JBuilder 9 and when I opened the JSP page which is being included and which contains Russian characters in NOTEPAD I noticed that they are also displayed not properly in NOTEPAD. So I retyped all Russian texts in NOTEPAD and saved the filed. And this fixed the problem.
So, I believe I need to browse JBuilder properties so that it doesn't happed again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Russian characters