Hi,

We're having problems with Page Compilation in the JavaWebServer
and Korean characters.

I created a simple jhtml page with korean characters.
When I access the page from a browser parts of the page
are missing and parts of the text between the <java></java>
tags appear. so, for example, I will see the "a>" part
of the "</java>" tag.
I looked at the servlet created from Page Compilation
and it seems like the offsets in the writeBytes methods are
incorrect.

      __fileData.writeBytes (629, 185, out);

So, it seems like the PageCompile servelt is not parsing the
file correctly.
Is there some setting or configuration that I am missing?

I've tried running on a Korean OS but that didn't change anything.
I've also tried running on a US OS with the "file.encoding"
System property set to "EUC_KR" (for Korean), but that
didn't change anything either.
I noticed in the JavaWebServer documentation that
the pageCompile servlet accepts "defaultEncoding" and "verbose"
init parameters - so I set these parameters
(defaultEncoding=EUC_KR,verbose=true)  in the servlets.properties
file but they don't seem to work (verbose=true is supposed to
print out messages during the compilation process and it didn't).

We were having an additional problem earlier where a paricular
korean character, when placed inside <title></title> tags, was
causing a page compile error. Specifically:

"Encountered scanning error starting at line: 6 ending at line: 6.
The character: '\uc5d0' was not expected"

We managed to get around this by adding a space between the korean
character and the title tag - but we couldn't figure out why this character
was causing a problem.

Could these two problems be related?

Any advice would be greatly appreciated.

Much Thanks :-)

-Sher
-email: [EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to