vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   ISO-8859-1 to UTF-8 Problem (https://vborg.vbsupport.ru/showthread.php?t=325689)

alfreema 10-19-2017 12:49 PM

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.


All times are GMT. The time now is 07:20 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.02693 seconds
  • Memory Usage 1,707KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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