View Single Post
  #1  
Old 03-11-2007, 08:24 PM
rovnak rovnak is offline
 
Join Date: Jan 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default About to commit sepeku - need UTF-8 ...getting ISO-8859-1

Deep breath ... deep breath. Grit teeth.

Ok, I've been chasing my tail off and on for about two weeks on this crap.

I have done every recommend thing that I can find in a desperate attempt to get my vBulletin forum to generate UTF-8 encoded pages.

Well, here's the rub. The pages ARE UTF-8 encoded. But for some stinking reason the HTTP Header continues to specify ISO-8859-1.

Content-Type: text/html; charset=ISO-8859-1

This is driving me absolutely, freaking nuts. WHAT HAVEN'T I DONE?

Ok, starting on a COMPLETELY NEW scraped box. Latest everything, except vBulletin which is 3.6.4

-- My MySQL database is ALL UTF.

-- I installed vBulletin with the config.php UTF-8 line uncommented
$config['Mysqli']['charset'] = 'utf8';

-- I modifed the headerinclude template in vBulletin so that the Meta tag specifies UTF-8
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

-- Apache is set for UTF-8
AddDefaultCharset UTF-8

Yet, despite ALL THIS, the freaking http head continues to specifiy
Content-Type: text/html; charset=ISO-8859-1

WHAT MORE CAN I DO FOLKS?

At first, I thought it was something on the shared host. So I waited two weeks until I could get my own dedicated server set up. Now, I have the totally clean, dedicated server. I installed all this crap, and lo and behold I have the same freaking problem still.

I thought - "it can't be vBulletin ... the page is really UTF-8. The meta tag says UTF-8 ... it must be Apache or PHP"

but, now I don't know, now I think maybe it IS vBulletin f'n me. Because, on the exact same server, I can run wikimedia and the wikimedia pages come down to my client with CORRECT HTTP headers.
Content-Type: text/html; charset=UTF-8

So, who or what can be the sticking point? This is driving me nuts, as you can see. I will be eternally grateful for the answer to this riddle.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01078 seconds
  • Memory Usage 1,763KB
  • 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