User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 402,048 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,528 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 338 | Replies: 1
Reply
Join Date: Jun 2008
Posts: 1
Reputation: crisRobin is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
crisRobin crisRobin is offline Offline
Newbie Poster

document encoding

  #1  
Jun 3rd, 2008
Hello

I am new to JSP, use to work with ASP.
In an application my company uses that wrote on JSP, it generate a page that include an email link like mailto:mymail@server.com?subject=the subject.

The problem starts with encoding because the subject is in Hebrew.

I made some tests. I saved the generated page as HTML and tried to play with the encoding, but with no luck. The subject remains in gibberish.

But when I saved the page as Unicode and not as ANSI, the subject was perfect.

The problem is that this page is generated by JSP.
How can I make it generating a Unicode text file and not an ANSI one.
Does it make sense?

Because I used to work on ASP and not on JSP, what do I need to do after I change a file? Compile it?

Please advice
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,695
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 195
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: document encoding

  #2  
Jun 5th, 2008
read the documentation. It will tell you how to set up a JSP to return UTF-8 or whatever.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JSP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 11:39 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC