Home
N-13 News
Forums
Help
Search
Username
Password
Register
Forgot password?
How to add image to post
necklacesdiscou
Known bugs - 4.0.3
necklacesdiscou
Latest
N-13 News 4.0.3
What is N-13 News?
Where can I get help?
Known bugs
Forums
Help & Support
There is anyone here having problems with special characters?
Atomxy
Posted on 12 May 2009, 19:36:50
Access: Member
Total Posts: 12
Joined: 2009-05-12
There is anyone here having problems with special characters?
Maybe I can help.
Follow these steps:
You’ll need to do this in your first installation, because I’m not sure how to update database to support utf8.
1. Edit the file sql.txt, and replace every word latin1 to utf8, make sure you did this in the entire file.
2. Open ALL PHP files, from the root of the main folder, and save every file in Utf-8, just use notepad, and save as, utf-8.
3. Open ALL FILEs, from modules folder, except .htaccess, and save in Utf8 to.
4. Open bbparser.php and go to line 84, you’ll find this:
$bb2html = htmlentities($bb2html, ENT_NOQUOTES, 'utf-8');
Just comment this using “#†character
5. Open index.php and add this in the second line:
header("Content-Type: text/html; charset=UTF-8",true); << Edit. I make a mistake... :D
I did this in my script and everything works fine now, I’m from Brazil and here we speak Portuguese, with a lot of especial characters, like accentuate words. “à á ç éâ€
:)
I hope this fix your problem.
#534
Last edited by Atomxy at 2009-05-12 22:46:53 Reason:
Network-13.com © 2013