Larry,
Thanks for the url, that helped understand the problem. Now I have to fix
it.
While I can copy the re's and add them to my JSP, I now have the problem of
the characters already having been converted to a '?' when I ask the request
for the string. I wrote a small JSP to test the problem and I don't see how
I can get the raw string with the MS extension characters still embedded to
even have a chance at replacing them. Do I have to have the enduser run a
script before posting or use a different default encoding? Sorry if I
missed the solution in your earlier post.
thanks,
brian
-----Original Message-----
From: Larry Zappaterrini [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 7:46 AM
To: [EMAIL PROTECTED]
Subject: Re: problems POSTing special characters
> For instance, Frontpage can generate an
> ellipses character that when posted,
> becomes a '?' on the server. The string
> resulting from calling on the request has
> the ellipses as a '?'. This happens for
> other characters as well.
This sounds like another example of Microsoft and their disdain for
standards. MS products such as Office and presumably Frontpage use
a non standard extension to the the ISO 8859-1 Latin-1 character set
that can make html produced by these products look unintelligable.
For a discussion and solution, see fourmilab.ch/webtools/demoroniser/
I believe that they have built support for these characters into IE,
so these documents look fine there. But try them in Netscape! The
page is riddled with question marks. Shame on MS once again. I
once had a problem where a user was pasting into a textarea from MS
Word and any time there was supposed to be a quote there was instead
a question mark. I looked at the Demoronizer program from the link
above and copied the relevant code into my Java program. Now that
there are a few nice regex packages for Java, you can just copy and
paste the relevant code!
Hope this helps!
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.