There are 2 encodings that happen. First is in the ResultHTML windows. The second is as the result buffer leaves the server. The "Registered symbol" is in high ascii so is encoded as the result buffer is sent (see system variable EncodeResults).
Steve,
Are you looking in the database directly to see what is being stored by witango, or are you looking at some output with encoding=none. If you're looking at witango output with encoding=none, the character will still get converted to ® because of that second encoding that happens.
/John
Robert Shubert wrote:
I would think that storing the $reg; would be what you want, it's similar to any other html such as <b>. When displaying the contents of the file, you want to use encoding=none so that the web browser will turn it back into the (R). I'm not sure if this is an actual high-bit character or just off the normal chart, but I believe that IE and your database will always be better handling the ® than the actual character. You could also try using @REPLACE to turn $reg; into <@CHAR ##> (whatever the ascii value is for a (R)) and then use encoding=metahtml on the return.
-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 4:10 PM
To: Witango User Group (E-mail)
Subject: Witango-Talk: Encoding
I am having trouble storing the "registered system" in my DB. It stores as ® instead of the symbol. I have tried inserting the row with the following:
<@var user$ShoppingBasket[<@var request$CurrItem>,P_Name]> as well as
<@var user$ShoppingBasket[<@var request$CurrItem>,P_Name] encoding=none>
as
well as <@var user$ShoppingBasket[<@var request$CurrItem>,P_Name]
encoding=metahtml>
It still stores ®
Is this possible?
Thanks
Steve Fogelson Internet Commerce Solutions ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
