Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 09:54:25

Author Topic: Encoding problem after update  (Read 3436 times)

0 Members and 1 Guest are viewing this topic.

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Encoding problem after update
« on: 2016-07-18, 06:15:37 »
After update from 6.5 to 7.0 everything is ok, but in one of the website we have text in database like this:
سرویس ها

before update we see texts in browser correct for Persian language.
But after update we see it the same in browser.
« Last Edit: 2016-07-18, 06:20:55 by mohsenrag »
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Encoding problem after update
« Reply #1 on: 2016-07-18, 08:33:26 »
Maybe database or php files not set as 'utf-8'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Encoding problem after update
« Reply #2 on: 2016-07-18, 08:49:09 »
both are utf-8

/etc/php.ini
default_charset = "utf-8"
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Encoding problem after update
« Reply #3 on: 2016-07-18, 09:35:09 »
Check your database table encoding.

FYI, I found certain databases are corrupt (not remember what) in innodb format.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Encoding problem after update
« Reply #4 on: 2016-07-18, 10:49:02 »
I checked it.
After all I restore the database dump file from one week ago,
But there still we have the problem with decode
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Encoding problem after update
« Reply #5 on: 2016-07-18, 12:42:26 »
Check your database one-by-one to make sure no corrupt file(s).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Encoding problem after update
« Reply #6 on: 2016-07-19, 17:01:46 »
Thank u

Finally I convert sql dump file from windows-1252 to utf-8 and restore to database.

It solved.
Mohsen RooholAmin
Sepehr Mahan Co

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.05 seconds with 21 queries.

web stats analysis