MyBB Community Forums

Full Version: [F] Language and Charset Problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
Original:

<?php
/**
 * MyBB 1.2 English Language Pack
 * Copyright © 2006 MyBB Group, All Rights Reserved
 * 
 * $Id: english.php 2143 2006-08-26 07:26:52Z chris $
 */

// The friendly name of the language
$langinfo['name'] = "English (American)";

// The author of the language
$langinfo['author'] = "MyBulletinBoard";

// The language authors website
$langinfo['website'] = "http://www.mybboard.com/";

// Compatible version of MyBB
$langinfo['version'] = "120";

// Sets if the translation includes the Admin CP (1 = yes, 0 = no)
$langinfo['admin'] = 1;

// Sets if the language is RTL (Right to Left) (1 = yes, 0 = no)
$langinfo['rtl'] = 0;

// Sets the lang in the <html> on all pages
$langinfo['htmllang'] = "en";

// Sets the character set, blank uses the default.
$langinfo['charset'] = "ISO-8859-1";
?>

But with problems...
When i chage this:

$langinfo['charset'] = "UTF-8"; 

to:

$langinfo['charset'] = "iso-8859-1"; 

On my board i can see a messeges like this one:

Warning: Cannot modify header information - headers already sent by (output started at /home/www/albasport.com/inc/languages/english.php:1) in /home/www/albasport.com/inc/functions.php on line 1057
attach your english.php file here please.
Here...

And also, i can not make changes in english default language!
Will give this result:
Big GrinBig GrinBig GrinBig GrinBig Grin
All posts containing an é before the upgrade have the same problem.. any fix? Toungue
I have also had that problem with user titles containing that é, as well as posts that contain a ' sign and £ sign, except they are replaced by a square like this one � .
As CraKteR has advised on http://community.mybboard.net/showthread.php?tid=11806

I tried it and it worked so give it a go.

You can go to inc/languages/english.php and find.
$langinfo['charset'] = "UTF-8"; 
Change it to:
$langinfo['charset'] = "iso-8859-1"; 
This didn't do anything. Sad

(Cause it already was replaced by that in my dutch.php file)
Pages: 1 2 3 4 5 6 7 8 9 10 11