Cyrillic characters are displayed as questionmarks

Author Message

Martin Moeller

Thursday 22 February 2007 5:58:58 am

Hi,

a multilingual website, made with eZ publish, now hast to support the russian language with cyrillic characters. As this didn't work, I switched the Database from ISO-8859-1-format to UTF-8 and changed this in the ini-Files of eZ publish too, but still I cannot handle cyrillic texts.

When pasting the text into the textarea, first it is displayed properly, but after saving the page, all characters become questionmarks. I didn't find a solution, yet. So I would be very thankful for each suggestion.

Kind regards
Morton

Softriva .com

Wednesday 28 February 2007 12:14:57 am

I am not sure if this will help.

Make sure that your .tpl files starts with

{*?template charset=utf8*}

Martin Moeller

Friday 09 March 2007 1:20:09 am

Thanks, for your answer!

The problem could be solved. The mistake was quite simple: The tables of the database itself were converted to UTF-8, but some fields were still set to latin. After finding this out and chaning this, eZ publish worked fine again.

Kind Regards
Morton

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 03:26:27
Script start
Timing: Jan 19 2025 03:26:27
Module start 'layout'
Timing: Jan 19 2025 03:26:27
Module start 'content'
Timing: Jan 19 2025 03:26:27
Module end 'content'
Timing: Jan 19 2025 03:26:27
Script end

Main resources:

Total runtime0.0157 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.4063152.6563
Module start 'layout' 0.00570.0034 742.062539.5078
Module start 'content' 0.00910.0045 781.570389.2891
Module end 'content' 0.01360.0021 870.859430.3047
Script end 0.0156  901.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.6345140.0002
Check MTime0.00117.1571140.0001
Mysql Total
Database connection0.00095.899610.0009
Mysqli_queries0.002616.874730.0009
Looping result0.00000.127710.0000
Template Total0.001711.010.0017
Template load0.00085.267110.0008
Template processing0.00095.726310.0009
Override
Cache load0.00063.767810.0006
General
dbfile0.00031.692380.0000
String conversion0.00000.069940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs