character encoding problem

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 8
Joined: Tue Jan 28, 2014 2:31 am

character encoding problem

Postby viat » Mon Feb 03, 2014 9:06 am


We had the problems with the character encoding during migration from 2.3.5 to 2.4.2.

Similar problems took place during migration from one server to another for OJS version 2.3.5.

I wonder when the settings from the configuration file have impact on the encoding

; Localization Settings ;


; Default locale
locale = ru_RU

; Client output/input character set
client_charset =utf-8

; Database connection character set
; Must be set to "Off" if not supported by the database server
; If enabled, must be the same character set as "client_charset"
; (although the actual name may differ slightly depending on the server)
connection_charset = utf-8

; Database storage character set
; Must be set to "Off" if not supported by the database server
database_charset = utf-8

; Enable character normalization to utf-8 (recommended)
; If disabled, strings will be passed through in their native encoding
; Note that client_charset and database collation must be set
; to "utf-8" for this to work, as characters are stored in utf-8
charset_normalization = Off

a) during upgrade
b) dirung rinning installed version
c) for both cases.


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: character encoding problem

Postby asmecher » Mon Feb 03, 2014 1:04 pm

Hi Viat,

Can you describe the problem?

Did you dump and restore the database as part of the process? If so, sometimes it's necessary to specify --default-character-set=utf8 to mysqldump/mysql in order to preserve character set configuration.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests