miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Captcha Addon for miniBB Fight the automated spam - protect your miniBB-forums, getting the Captcha add-on!
Custom Tutorials and Modifications miniBB Community Forum / Custom Tutorials and Modifications /
Short link for this topic:

Multiple Encoding forums in UTF-8 (with specific chars in French, German, Russian etc.)

Author Paul
CEO
#1 | Posted: 31 Oct 2006 05:08 | Edited by: Paul
I've moved this message from another thread:

"if I leave the default english interface, I am still able to post cyrillic messages and they are dispayed correctly, but ones posted by other users who set up their interface to russian are crappy re-converted. It still is possible make it to display correctly by selecting 'View' encoding as 'Windows-1251' manually, but again, it will display specific german, french, etc. letters incorrectly in this case, and worse, for every other site too. Assigning $l_meta empty string, as suggested in manual, does not help in fact.
So, I hope there must be another fix or solution that helps for sure, 'coz I see a variety of forums over there, which manage this situation perfectly."

So,

if you want to set-up multiple encoding forums, it's the most better idea to start them in UTF-8 mode. For this:

1) All language packs must be converted to UTF-8 (not a completely easy job, I know, but worth it). So each language pack should be saved in UTF-8 encoding. And, it should contain charset=utf-8 under $l_meta variable.

2) Allow only latin symbols in $userRegName setting of setup_options.php (it comes that way by default). Of course, it's possible also specify some symbols in UTF-8 here, but I doubt it's worth it, since you will need to change a lot of fields in database later.

3) topic_title field of minibbtopics_table in database must be specified as 'text' type (by default, comes as varchar(255)). SQL command for this:

ALTER TABLE `minibb_topics` CHANGE `topic_title` `topic_title` TEXT;

4) generic bb_func_txt.php file of miniBB package should be used as from the latest version 2.0.3. It has some fixes regarding symbols encoded in UTF-8.

I hope that's all for regular forums...
Custom Tutorials and Modifications miniBB Community Forum / Custom Tutorials and Modifications / Multiple Encoding forums in UTF-8 (with specific chars in French, German, Russian etc.) Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
miniBB Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts