View Full Version : Posts get cut off when a user uses a Apostrophes from a Word file
Bowromir
04-23-2009, 01:36 PM
Hi people,
We have a bug on our forums which cuts off posts when a user copy and pastes from a word or pages (mac) file! So the post gets placed until the user puts in a ' somewhere.. For instance with the word "don't". Any idea how this is possible?
Thanks in advance :D
snakes1100
04-23-2009, 01:40 PM
Mixed character collations with mysql, probably mismatched between connection and the db character collation type.
Bowromir
04-23-2009, 01:48 PM
Wooow.. that sounds cool :D but what can I do to fix the problem? :D
snakes1100
04-23-2009, 01:51 PM
You will need to view the mysql "show variables;"
character_set_client: latin1 <--
character_set_connection: latin1 <--
character_set_database: latin1 <--
character_set_filesystem: binary
character_set_results: latin1
character_set_server: latin1 <--
character_set_system: utf8
Compare those and make sure they aren't mis-matched
Arkham
04-23-2009, 02:50 PM
I think this is the same problem I encountered a while ago.
For me, changing the character set to UTF-8 fixed it.
You can change it here: Admin CP -> Languages & Phrases -> Language Manager -> [Edit Settings] -> HTML Character Set
Bowromir
04-24-2009, 06:34 PM
Thank you Arkham!! This seem to fixed the problem! Thanks for your help aswell Snakes ;)
Arkham
04-24-2009, 06:46 PM
Thank you Arkham!! This seem to fixed the problem! Thanks for your help aswell Snakes ;)
Glad to hear it!
I was completely stumped on that one, and only figured it out after comparing answers in two or three different threads on vBulletin.com. I'm not sure if there's any adverse affect in changing the charset to UTF-8, but since the change allows people to paste from Word etc., I'm not complaining yet. ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.