Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2013, 04:57 PM
jwagner jwagner is offline
 
Join Date: Jan 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 07-29-2013, 12:24 AM
jwagner jwagner is offline
 
Join Date: Jan 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone seen this issue before? Certainly someone has encountered a quote or apostrophe issue in Vbulletin and its editor.
Reply With Quote
  #3  
Old 08-20-2013, 08:59 PM
jwagner jwagner is offline
 
Join Date: Jan 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #4  
Old 08-20-2013, 09:26 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure your Language is set to UTF-8, instead of ISO
Reply With Quote
  #5  
Old 08-21-2013, 12:18 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 08-21-2013, 01:34 AM
jwagner jwagner is offline
 
Join Date: Jan 2013
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
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.
Reply With Quote
  #7  
Old 08-21-2013, 01:46 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This occurs when your database and everything related to it, is set to UTF-8, the odd data breaks the connection.
Reply With Quote
  #8  
Old 01-08-2015, 08:04 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
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
Reply With Quote
Благодарность от:
kh99
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:17 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.03783 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete