Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 08-16-2002 22:11:06

Guest
Guest

What's up with the Apostrophe?

Things are starting to blur a bit for me, but I know I've had problems with the apostrophes in descriptions disappearing. Now I know that's an issue with MySQL and that a double ' needs to be used. But I can swear I had the problem while still using the csv tables AND that it only happened with some of the items under MySQL.

I also *think* they may be disappearing when we convert from csv to MySQL.

Am I imagining this?
Thanks all.
Rich

 

#2 08-16-2002 22:42:40

Guest
Guest

Re: What's up with the Apostrophe?

OK...it's not me. Minor glitch in CCP 5. Add apostrophes to a product desc in PhpMyAdmin and they're there. Upen the product with the Admin panel, save it and they're gone.
Rich

 

#3 08-17-2002 07:05:31

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: What's up with the Apostrophe?

It's not really a glitch as they are intentionally stripped out.  SOme of the different supported databases handle them differently and the DBI quote method doesn't always seem to work 100% when escaping them for different RDBMS.  If it's a major issue, I can delay the update so we can fully test all of the database functionality again, with and without single quotes.


Nick Hendler

Offline

 

#4 08-17-2002 09:18:25

Guest
Guest

Re: What's up with the Apostrophe?

For me, this is a minor issue--not one that I would want the update delayed for.

 

#5 08-17-2002 11:05:17

Guest
Guest

Re: What's up with the Apostrophe?

Nick-
I agree with Linda. As I said, minor glitch. I get around it by editing items with PhpMyAdmin rather than the Admin Control Panel.

Certainly not worth delaying the update over.
Rich

 

#6 09-06-2002 02:07:59

Hilery
Member
Registered: 02-24-2002
Posts: 44
Website

Re: What's up with the Apostrophe?

Hey folks, I just wanted to let you know that I came up with a "semi" solution...

Use the HTML special code for the apostrophe:  '

That way you don't have to switch to PHP Admin if you don't want to.

However...  CCP5 does convert it back to ' when you go to edit again.  (Like it does with any other special HTML character code.)

Is there a way to keep my special codes without CCP5 coverting them?

Offline

 

#7 09-06-2002 10:39:24

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: What's up with the Apostrophe?

That's just the way that the browser is printing that back to you.  I'm afraid there's no way around it.

We plan to do more extensive testing on the single/double quote issue within the next few weeks and will update the install file if a solution can be found.  This was thoroughly tested and no solution was evident that worked across all platforms (CSV, MySQL, PostgreSQL, MS SQL Server) during development.  We plan to revisit it anyway, though, and see what may come up.

If we do find a workable solution, we'll post the code updates out here so you guys can update your scripts.


Nick Hendler

Offline

 

#8 09-06-2002 15:43:17

elle
Member
Registered: 04-28-2002
Posts: 27

Re: What's up with the Apostrophe?

If you use the single quote code you won't have that problem.  Just hold down the alt key and type 0146.

Offline

 

#9 09-10-2002 22:26:31

dcorwin
Member
Registered: 09-08-2002
Posts: 23

Re: What's up with the Apostrophe?

Thats why my words are looking silly. Thought I forgot how to type for a while there. Any fix in the works?

re: Hold alt and hit 0146? Where do you do that? I just get beeped at.

Offline

 

#10 07-01-2004 10:16:22

BobGordon
Member
Registered: 01-20-2003
Posts: 10

Re: What's up with the Apostrophe?

You dont hold all of those keys at once, You just hold down the alt key and then press the other keys consecutively.

Offline

 

#11 07-01-2004 14:00:27

Charles
Member
From: USA
Registered: 12-24-2002
Posts: 252

Re: What's up with the Apostrophe?

Good one that you should pin up.(Pin Up in the Forum)


Charles

Offline

 

Board footer