vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem with editor cutting off text at apostrophes and quotations (https://vborg.vbsupport.ru/showthread.php?t=300356)

jwagner 07-22-2013 04:57 PM

Problem with editor cutting off text at apostrophes and quotations
 
We have an installation of Vbulletin 4.2.1. It is connecting to MySQL 5.5. Magic quotes are turned of in PHP. The problem is whenever someone copies and pastes text from a Microsoft Word document. The default characters for apostrophe and quotation marks in Word (on all our client computers) do not appear to be the same as the apostrophe and quotation character set used in Vbulletin's CKEditor. Whenever a new forum post is created, the text will save and be cut off at the apostrophe or quotation mark. The interesting thing is if you go back to edit your post (which was cutoff) and repaste the original text, it now saves in its entirety.

I am at a loss which code, settings or templates I can check from here. I've tried changing the WYSIWYG editor to standard as well as other options in the Admin panel but it seems to have no effect. The default config.php had charset commented out. I tried uncommenting so it read utf8 but that had no effect so I commented it back out again. Any guidance on settings and code to check would be appreciated.

jwagner 07-29-2013 12:24 AM

Has anyone seen this issue before? Certainly someone has encountered a quote or apostrophe issue in Vbulletin and its editor.

jwagner 08-20-2013 08:59 PM

Anyone?

Zachery 08-20-2013 09:26 PM

Make sure your Language is set to UTF-8, instead of ISO

nerbert 08-21-2013 12:18 AM

Are you using the special paste from word feature up in the top row of editor buttons? you have to be in WYSIWYG mode to use it.

jwagner 08-21-2013 01:34 AM

Quote:

Originally Posted by Zachery (Post 2439987)
Make sure your Language is set to UTF-8, instead of ISO

Thank you. The problem ended up being that a default language set of ISO-8859-1 was used upon installation and it needed to be set to UTF-8. Problem solved.

Zachery 08-21-2013 01:46 AM

This occurs when your database and everything related to it, is set to UTF-8, the odd data breaks the connection.

AusPhotography 01-08-2015 08:04 PM

Quote:

Originally Posted by Zachery (Post 2440034)
This occurs when your database and everything related to it, is set to UTF-8, the odd data breaks the connection.

We are having this issue.

Our database is UTF-8 and collation is set to utf8_unicode_ci

* Server version: 5.6.21 - MySQL Community Server (GPL)
* Server charset: UTF-8 Unicode (utf8)

Is there anything we can do to fix it?

(It seems to be 8 bit characters such as ’ and • hex 92 and 95 that can cause issues)

Kym

--------------- Added [DATE]1420760106[/DATE] at [TIME]1420760106[/TIME] ---------------

Fixed. I had to change a setting for PHP and the Language setting


All times are GMT. The time now is 03:17 PM.

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.01583 seconds
  • Memory Usage 1,721KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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