|Strange Symbol ( Â )|
|Strange Symbol ( Â )|
Author Julian on 08-02-2000 at 10:05 (EST)
We are working on an upgrade of uShop (V3) for a client but when the Order Information page is displayed with the HTML cart below, an Â symbol appears before the £ symbol.
This is also displayed on the order "Thank You" page and when we read the order via the Order Reader.
We have checked the settings in ushop-languages.pl and $lang_currency_symbol = '£';
|Table Of Contents|
| strange symbol Charlie Edmunds, 2000-08-02 17:56:58 (1)|
| Strange Symbol ( Â ) Julian, 2000-08-03 13:38:38 (2)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-04 10:21:27 (3)|
| Strange Symbol ( Â ) Julian, 2000-08-04 11:05:12 (4)|
| RE: Strange Symbol Bill Weiner, 2000-08-04 12:36:34 (5)|
| Strange Symbol ( Â ) Julian, 2000-08-04 13:45:08 (6)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-04 15:00:30 (7)|
| Strange Symbol Julian, 2000-08-04 15:36:16 (8)|
| RE: Strange Symbol Bill Weiner, 2000-08-05 07:44:37 (9)|
| Strange Symbol ( Â ) Julian, 2000-08-05 10:02:15 (10)|
| Strange Symbol ( Â ) Julian, 2000-08-05 10:26:48 (11)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-06 08:15:31 (12)|
| Strange Symbol ( Â ) Julian, 2000-08-07 08:19:11 (13)|
| Strange Symbol ( Â ) Julian, 2000-08-08 09:49:55 (14)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-08 14:21:39 (15)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-10 06:28:32 (16)|
| RE: Strange Symbol ( Â ) Bill Weiner, 2000-08-11 05:26:40 (17)|
|Messages In This Discussion|
| 1. strange symbol|
Author Charlie Edmunds on 08-02-2000 at 17:56 (EST)
Just want to verify that you uploaded all but your class files in text mode and your class files in binary mode.
Julian, can I have the url for your site so I can take a look at it?
Thanks, Charlie Edmunds
| 2. Strange Symbol ( Â )|
Author Julian on 08-03-2000 at 13:38 (EST)
|Please refer to my email response to the above.|
| 5. RE: Strange Symbol|
Author Bill Weiner on 08-04-2000 at 12:36 (EST)
|I see you have a codebase problem on your "display_cart.html" page. Please change the codebase on that page back to "../codebase/" and then I'll be able to continue looking at the site.
| 6. Strange Symbol ( Â )|
Author Julian on 08-04-2000 at 13:45 (EST)
|I presume that you mean to change the codebase to "../classes/" as with all the applets...I've done that now.|
| 7. RE: Strange Symbol ( Â )|
Author Bill Weiner on 08-04-2000 at 15:00 (EST)
|I just tested out your site (you should be receiving a test order)... and everything worked and appeared fine. I didn't see any strange characters before the "£" sign on any of the HTML shopping cart displays. Are you sure you are still receiving the "Â" symbol?|
Try using the order reader to read the order that I just placed....do you see the symbol there?
| 8. Strange Symbol|
Author Julian on 08-04-2000 at 15:36 (EST)
|AAH....I know what it is!!|
The UK version of Windows 98/98SE defaults the browser Encoding to Western European (Windows) and this causes the error. It's fine if I change the Encoding to Unicode (UTF-8).
Bearing in mind that we can't ask everyone to change their browser settings, what can be done to resolve this?
| 9. RE: Strange Symbol|
Author Bill Weiner on 08-05-2000 at 07:44 (EST)
|Hmmmmm.... That is interesting. So you're browser does successfully see symbols like "£" when on regular HTML page (like this one), it's just that when that symbol is encoded as in a POST, it is encoded differently. Very interesting.|
As a test, try placing an order on your site and view the source on your "Review Order" page. Down near the very bottom (on a very long line), you should see a "hidden" field entitled "currency_symbol". Does it show up as "£" or as that weird "Â" symbol? Based on the information you gave, I'm guessing the "Â".
Also, are ALL "£" symbols on your order forms appearing as "Â"... or just certain ones?
Let me think about it over the weekend and we'll see what we can do.
| 10. Strange Symbol ( Â )|
Author Julian on 08-05-2000 at 10:02 (EST)
|I have send an email with some screen shots and source code. Hope this helps.
| 11. Strange Symbol ( Â )|
Author Julian on 08-05-2000 at 10:26 (EST)
|The funny thing is.....when I view your demo site everything is OK. The only difference, of course, is that you are using the US version.
| 12. RE: Strange Symbol ( Â )|
Author Bill Weiner on 08-06-2000 at 08:15 (EST)
|Well if the encoding theory is true, that would be because it only affects such non-standard ASCII characters like "£" symbols.....Which we do use on our UK Applet Reference at:|
....which I think will give you the same results that you are seeing on your site.
In any case, we will look into it some more on Monday.
| 13. Strange Symbol ( Â )|
Author Julian on 08-07-2000 at 08:19 (EST)
|Yes... the same problem is experienced at your UK demo site.|
Just in case we have tried accessing the site from 4 separate PCs and get the same problem.
Any more suggestions?
| 14. Strange Symbol ( Â )|
Author Julian on 08-08-2000 at 09:49 (EST)
The answer to both your questions is YES - the £ symbol was displayed correctly.
| 15. RE: Strange Symbol ( Â )|
Author Bill Weiner on 08-08-2000 at 14:21 (EST)
|So the tests at:|
both functioned fine in your browser? Well, that kind of eliminates the encoding problem because the "£" sign is being posted in that test the same way uShop POSTs the data in the order process.
Let me take another look at the source code of the pages that you sent and see if I see anything strange.
| 16. RE: Strange Symbol ( Â )|
Author Bill Weiner on 08-10-2000 at 06:28 (EST)
|I took another look at the pages that you sent and still do not know why your browser is displaying that "Â" symbol before the "£"... but as a test, try placing a test order again from our UK Applet Reference:|
And let me know if you still see that "Â" on any or all of the order form pages.