View Single Post
  #1  
Old 10-19-2017, 12:49 PM
alfreema alfreema is offline
 
Join Date: Aug 2017
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default ISO-8859-1 to UTF-8 Problem

So I have posted a thread with extensive details on vBulletin.com, but I am not getting much activity there. Though there have been a couple hints posted for me to try, nothing is working.

I don't know if it's bad form to cross post problems both here and on vbulletin.com?

The symptom is that users are copy/pasting from other websites and their posts are being truncated at special characters. I believe this is because the page is being sent as ISO-8859-1, instead of UTF-8. Anything I do to try and get the Content-type's header to show charset=UTF-8 has failed. I ran lots of independent tests to see where it's breaking and posted those on that link above on vbulletin.com.

I am trying to post lots and lots of details so that someone else with similar problems (there seem to have been many over the years) have a really thorough thread they can use to help troubleshoot their issue.

Should I post all the details in this thread or keep posting on vbulletin.com? I am really at a loss at this point. I have done everything I know how to do, and have isolated the issue to vbulletin. When I hit the database using mysqli with my own PHP, the charset is UTF-8. But any call I make using the vBulletin code base comes back as ISO-8859-1. Changing the charset in the English settings in AdminCP didn't affect it one bit.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01305 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete