Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Ability to use ASCII characters

Ability to use ASCII characters

Locked

Views: 2,424

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
4 May 2008, 2:44 AM
#1
fasteddie avatar

fasteddie

New Zenner

Join Date:
Jan 2007
Posts:
14
Plugin Contributions:
0

Ability to use ASCII characters

Hi all,

Thanks for taking the time to read my question. I am setting up over 600 products and each one has a size. A large majority have 1/4", 1/2" or 3/4" in the size. So I was wondering if there is someway to use the ASCII ¼ ½ ¾ within Zencart in categories or product names? Every time I try to enter them in a category, it's replaced with a question mark.

Thanks in advance,
-Ed

4 May 2008, 7:21 AM
#3
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: Ability to use ASCII characters

Can these be used in XML? Reason I ask is I am using the Google Base Feeder Mod and it strips the quote marks from all my product descriptions, which I need left in the description since they define inches.

Thanks

4 May 2008, 8:01 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Ability to use ASCII characters

FatGuyinAZ,

As you are probably not writing this XML but using the base feeder to do it for you and from html code in your description you have a dilema...

Need to determine if the feeder mod creates "parsed" XML or not - if parsed then it will take " and convert to the XML "

If not change your " to the text 'in'

4 May 2008, 8:19 AM
#5
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: Ability to use ASCII characters

I will check into the "Parsed" and find out. I suppose the quickest way would be for me to just edit 1 product description then have the feeder generate the xml file and I will then take a look at it.

Thank you sir.

5 May 2008, 4:28 PM
#6
fasteddie avatar

fasteddie

New Zenner

Join Date:
Jan 2007
Posts:
14
Plugin Contributions:
0

Re: Ability to use ASCII characters

kobra:

Use the escape codes for these -
http://mrpip.orconhosting.net.nz/href/asciichar.html

This worked perfectly, thank you so much for taking the time to reply.
-Ed

5 May 2008, 7:20 PM
#7
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: Ability to use ASCII characters

kobra here is the text from one of my product descriptions (clicked on Source):

<p>Treat yourself to the free-swinging comfort that only a hammock can give with this snappy blue striped single-person cotton model. Includes a pillow! Max Wt.: 240 lbs. May require additional freight charge. 31 1/2" x 78 3/4" long.</p>
```Now here it is in the xml file:

```html
Treat yourself to the free-swinging comfort that only a hammock can give with this snappy blue striped single-person cotton model. Includes a pillow! Max Wt.: 240 lbs. May require additional freight charge. 31 1/2 x 78 3/4 long.

As you can see it's identical except the " has been removed. I wasn't sure what you meant when you wrote 'in' so I figured I would reply with this showing what the feeder is getting and producing.

Thanks,

9 May 2008, 6:04 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Ability to use ASCII characters

FatGuyinAZ,

So in your case- 31 1/2" x 78 3/4"

could be entred as

31 1/2 in. x 78 3/4 in.

9 May 2008, 4:27 PM
#9
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

Re: Ability to use ASCII characters

LOL I thought "in" was some special code I wasn't familiar with yet. Wow I was over thinking that one.

Thank you