problem with arabic charset of DB

Author Message

John Mina

Thursday 17 August 2006 6:08:14 am

hello,
I have a running site on a server with rabic language db. I am in the process in moving the site to another Server , the current "Charset Collation" on the old website is : latin_swedish_ci and most of the tables charsets are utf8_general_ci

What do you think ?
how to move the DB
what charsets shuld i use ?:(

please help
thanks

Softriva .com

Thursday 17 August 2006 2:23:02 pm

For Arabic I think you need to use utf8.

I am not sure what do you mean by most of the tables are in utf8. Up to my knowledge Arabic fonts won't work in latin_swedish_ci.

Finally, you can do some experiment, ie use phpmyadmin and export your old tables to an .sql file. If you have a local server try importing your exported file to it and check to see if all your chars are ok.

I hope that I put you in the right track.

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 18 2025 18:19:09
Script start
Timing: Jan 18 2025 18:19:09
Module start 'layout'
Timing: Jan 18 2025 18:19:09
Module start 'content'
Timing: Jan 18 2025 18:19:10
Module end 'content'
Timing: Jan 18 2025 18:19:10
Script end

Main resources:

Total runtime0.6204 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0391152.6406
Module start 'layout' 0.00580.0027 740.679739.4766
Module start 'content' 0.00860.6105 780.1563459.4063
Module end 'content' 0.61910.0012 1,239.56258.1406
Script end 0.6204  1,247.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5266160.0002
Check MTime0.00140.2199160.0001
Mysql Total
Database connection0.00080.134410.0008
Mysqli_queries0.580093.4806540.0107
Looping result0.00050.0813520.0000
Template Total0.588994.920.2944
Template load0.00220.351220.0011
Template processing0.586794.561220.2933
Template load and register function0.00020.027210.0002
states
state_id_array0.00130.212710.0013
state_identifier_array0.00100.153120.0005
Override
Cache load0.00180.2879150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.109420.0003
Fetch class attribute name0.00130.216820.0007
XML
Image XML parsing0.00020.039720.0001
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00070.1189100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs