Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: SaidJan on June 25, 2017, 06:44:27 PM

Title: Persian language
Post by: SaidJan on June 25, 2017, 06:44:27 PM
Hi,

In SMF2.0, I could change the board names to persian easily, but in 2.1b3, when I save it, it changes to question marks.
Please fix it.
Title: Re: Persian language
Post by: Kindred on June 25, 2017, 07:48:54 PM
Change your site to UTF8 before upgrading to 2.1 beta
Title: Re: Persian language
Post by: SaidJan on June 25, 2017, 10:00:28 PM
I figured out that I should change the DB to utf-8 when importing.
Thanks though.
Now I need GMT +3:30 timezone. Can I add it myself?
Title: Re: Persian language
Post by: vbgamer45 on June 25, 2017, 10:22:26 PM
Admin -> Features and Options -> Server timezone
Title: Re: Persian language
Post by: shawnb61 on June 26, 2017, 12:06:48 AM

If the DB was not UTF8, the 2.1 upgrader will perform the upgrade to UTF8.  You do not have to do the UTF8 conversion before the upgrade. 

There *is* an issue in the 2.1b3 upgrader where, if the 2.1 upgrader performed the UTF8 conversion, an appropriate entry is not made in the settings.php file.   If this entry is not present:
$db_character_set = 'utf8';

... then add it. 

If there are still issues with character set display, this diagnostic utility may help:
https://github.com/sbulen/sjrbTools/blob/master/SMF_UTF8_Diag.php
Title: Re: Persian language
Post by: vjulian on July 03, 2017, 06:11:59 AM
Quote from: SaidJan on June 25, 2017, 06:44:27 PM
Hi,

In SMF2.0, I could change the board names to persian easily, but in 2.1b3, when I save it, it changes to question marks.
Please fix it.

Did the solution suggested by shawnb61 worked for you. Kindly update.
Title: Re: Persian language
Post by: SaidJan on July 03, 2017, 09:19:07 AM
Yes, by changing the format to UTF-8 it worked.
Updated!
Thanks
Title: Re: Persian language
Post by: vjulian on July 12, 2017, 08:30:02 AM
Quote from: SaidJan on July 03, 2017, 09:19:07 AM
Yes, by changing the format to UTF-8 it worked.
Updated!
Thanks
Great I will note that down for future reference.