liamC
Member
Registered: 28th Feb 04
User status: Offline
|
copying and pasting a few sentences of text from a word document into a database field, but the apostrophes keep being replaced with a ? unless i type them manually into the field.
is there a way round this?
[Edited on 26-04-2008 by liamC]
|
Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
MS Word uses a MS-specific character instead of '
I'm not exactly sure what it is but its similar to how it uses em-dash instead of -
Hope this helps?
|
colour_golden
Member
Registered: 24th Feb 08
Location: Hull - UK
User status: Offline
|
put a \ in front of the ' and that should be ok. the ' charachacter is used as a comment in PHP and other languages so it will kick up errors when printing out results on pages etc. You will have to escape the \ when using the results on the actual page. Not touched PHP/ASP for a about 6 months so i might be a little rusty
edit: totally read that wrong ignore me! Will leave it for others to see
[Edited on 01-05-2008 by colour_golden]
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Sounds like they're not proper single quotes. Use Notepad to replace them.
|