vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Posts get cut off when a user uses a Apostrophes from a Word file (https://vborg.vbsupport.ru/showthread.php?t=211999)

Bowromir 04-23-2009 01:36 PM

Posts get cut off when a user uses a Apostrophes from a Word file
 
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

Quote:

Originally Posted by Bowromir (Post 1798329)
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. ;)


All times are GMT. The time now is 07:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01029 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete