Advertisement:

Author Topic: Persian language  (Read 656 times)

Online SaidJan

  • Semi-Newbie
  • *
  • Posts: 68
Persian language
« 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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,686
  • Gender: Male
    • Kindred-999 on GitHub
Re: Persian language
« Reply #1 on: June 25, 2017, 07:48:54 PM »
Change your site to UTF8 before upgrading to 2.1 beta
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Online SaidJan

  • Semi-Newbie
  • *
  • Posts: 68
Re: Persian language
« Reply #2 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?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,092
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Persian language
« Reply #3 on: June 25, 2017, 10:22:26 PM »
Admin -> Features and Options -> Server timezone
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline shawnb61

  • Charter Member
  • Jr. Member
  • *
  • Posts: 274
    • sbulen on GitHub
Re: Persian language
« Reply #4 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:
Code: [Select]
$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
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline vjulian

  • Newbie
  • *
  • Posts: 6
Re: Persian language
« Reply #5 on: July 03, 2017, 06:11:59 AM »
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.

Online SaidJan

  • Semi-Newbie
  • *
  • Posts: 68
Re: Persian language
« Reply #6 on: July 03, 2017, 09:19:07 AM »
Yes, by changing the format to UTF-8 it worked.
Updated!
Thanks

Offline vjulian

  • Newbie
  • *
  • Posts: 6
Re: Persian language
« Reply #7 on: July 12, 2017, 08:30:02 AM »
Yes, by changing the format to UTF-8 it worked.
Updated!
Thanks
Great I will note that down for future reference.