By sbeel1 on
i just convert from joomla to drupal abut 3000 article and more staff but
i fond that every thing looks like this
åæ ÇáÕÑÇÚ ÇáÃÈÏì Èíä ÇáÍÞ æÇáÈÇØá Èíä ÇáÎíÑ æÇáÔÑ Èíä ÇáÌãÇá æÇáÞÈÍ Èíä ÇáÞÑÂä ÇáßÑíã æÇáßÊÇÈ ÇáãÞÏÓ ¡ åÐÇ ÇáÕÑÇÚ åæ ãÇ íÚãì ÎÕæã ÇáÅÓáÇã Úä ÑÄíÉ ÇáÍÞíÞÉ ÍÊì æÅä ßÇäÊ ÃæÖÍ ãä ÇáÔãÓ æÃÈáÛ ãä ÇáÞíá æÇáÞÇá .
i think this becouse my joomla is windows-1256
and lan is arabic
so any help pls.
Comments
You may need to convert your
You may need to convert your database's character set before importing it into Drupal. I had a custom CMS site with a Latin1 Binary character set, and converted it to utf8 before importing, and it fixed the issue for me (it was a English site, however many users had posted special characters and foreign language into various comments, and those turned out the same as your example before I converted to utf8).
First dump a copy of your MySQL database... I used this command though I don't know if the extra parts had any necessary effect (they were just part of the various tips I read while researching the issue):
mysqldump -uusername -p --default-character-set=latin1 --skip-set-charset mydatabase > mydatabase.sql
Via shell/SSH, run iconv in order to translate the previous character set to utf8...
This command is for Latin (ISO-8859-1)... you may need to adjust for your Windows character set:
iconv -f ISO-8859-1 -t UTF-8 mydatabase.sql > mydatabase_utf8.sqlWhat you do after this depends on your situation... I'm supposing you might want to re-import this new UTF8 database into a new copy of your Joomla install (make sure your new database you import into is utf8_general_ci), which will now be ready for porting over to Drupal, by whatever means/tools you had in mind.
When you create your Drupal database, ensure that the character set is: utf8_general_ci
-- David
absolutecross.com
CP1256
I recently converted someone's arabic PHPNuke site to Drupal and ran into the same problem. The problem was the original Nuke site (or Joomla) assumed the dataset was Latin1, and maped to the wrong character set when converting to UTF8. There are several ways to fix it depending whether you still have access to original database or just the SQL dump.
If you're using a script to do the conversion, just post it here and I could probably modify to make it work properly.
If you only have the dump, it may or may not have been dumped properly. If it was dumped as UTF8 the damage is already done, since mysql went ahead and converted to the wrong character set. If this is the case you have to convert it back to latin1 (using something like notepad++) before you can do anything further. You should preferably dump your database as 'binary'.
thank you for your help
thank you for your help
what we have now is joomla running site
i installed drupal and the converter and go
the main problem that iam not prof in the cpanel satff
and just need how to do it in a smple way and the steps
thank you very much
Which converter?
The converter doesn't know which codepage your website is using. It needs to be modified so it pulls the data from the database in binary then converters it explicitly from CP1256 to UTF8. Let me know which converter you're using and I'll fix it so it works with arabic.
thank you for your replay i
thank you for your replay
i am using this one
http://ftp.drupal.org/files/projects/joomla-5.x-2.1.tar.gz
Try this
http://www.anojan.com/files/public/joomla-mod.zip
I made the necessary modification for arabic on lines:
180 181 214 283 284 312 313 398 399 400
If anybody else is having similar problems on a different language then change CP1256 on line 180 to whatever encoding you were using (ex. CP1255 for hebrew, CP1253 for greek, etc.).
thank you thank you thank
thank you thank you thank you
it works and every thing good and clear
i will get back to you very soon
thanks again
You're welcome
I'm glad it worked for you.
very thanks
Work and for me. Migrate joomla 1015 to drupal, cp1257.