Forums / Bug Reports / Character encoding in text field

Character encoding in text field

Locked

Started by kuba1 on 25 Oct 2008, 11:42 AM · Views: 3,312

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Oct 2008, 11:42 AM
#1
kuba1 avatar

kuba1

New Zenner

Join Date:
Oct 2008
Posts:
6
Plugin Contributions:
0

Character encoding in text field

I found this in 1.3.7 and will upgrade and test in 1.3.8 also.

Symptom:

In the text box for an item a link is entered:

<a href="http://mydomain/zencart_test/index.php?main_page=product_info&cPath=1_5_10&products_id=52">Product</a>

You edit and correct for validation:

<a href="http://mydomain/zencart_test/index.php?main_page=product_info&cPath=1_5_10&products_id=52">Product</a>

So far, so good. Once it is saved this way it works, validates, great!

You go in to edit a piece of text in the item description or anywhere else in the item edit page and this is the link that shows up in the edit box:

<a href="http://mydomain/zencart_test/index.php?main_page=product_info&cPath=1_5_10&products_id=52">Product</a>

Zencart does not keep the character encoding intact. Minor bug, but a little irritating to have to remember to edit all the links placed in the descriptions every time an edit is made to a product in order to validate a page.

I tried to search and see if this problem has been reported for any version, but, the search does not seem to work really well on this forum, or I still haven't figured out all of the terminology you all use around here.

25 Oct 2008, 12:01 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Character encoding in text field

It's a known issue that the html entities are decoded on edit.
We hope to have it fixed in the next version.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Jan 2009, 5:55 AM
#3
quangdog avatar

quangdog

New Zenner

Join Date:
May 2007
Posts:
13
Plugin Contributions:
0

Re: Character encoding in text field

DrByte:

It's a known issue that the html entities are decoded on edit.
We hope to have it fixed in the next version.

Just wanted to touch base to see if there is any progress on this issue. It just bit me, and I'd like to be able to use certain characters - left and right double quotes, mdash, etc.

Thanks!