Good (GMT) afternoon!
I'm currently running into a problem with some code I've recently put together. I'm running Tomcat (4.X) with Apache (2.X) and mySQL on a Windows 2003 Server platform.
I'm bringing back a string from a mySQL database and displaying it on the page... and this works fine for Unicode characters too (specifically I can display accented "e" character).
If I add the following code to the page, with the intent of setting this string into a session cookie, the page breaks:
If I comment out that line, then the page renders correctly and I see the unicode content appearing fine.
I can find reference about cookie names not allowing unicode characters... but no details about the cookie data.
Does anyone out there have a solution?
Jeff
I'm currently running into a problem with some code I've recently put together. I'm running Tomcat (4.X) with Apache (2.X) and mySQL on a Windows 2003 Server platform.
I'm bringing back a string from a mySQL database and displaying it on the page... and this works fine for Unicode characters too (specifically I can display accented "e" character).
If I add the following code to the page, with the intent of setting this string into a session cookie, the page breaks:
Code:
response.addCookie(new Cookie("cookiename", _myString));
If I comment out that line, then the page renders correctly and I see the unicode content appearing fine.
I can find reference about cookie names not allowing unicode characters... but no details about the cookie data.
Does anyone out there have a solution?
Jeff