Re: Convert a latin1 db imported in utf8...
Posted by: Guillermo Vigil
Date: July 27, 2007 05:20PM

Hello,

I have this same problem, but on a table with countries, regions and cities.
I have successfully changed some characters through the replace sql query, and it works well.

I would've countinues but I can't find any more character equivalences, as I hace things such as:

440628210 Farāh locality Afghanistan Farāh
441456545 Deh Rawūd locality Afghanistan Urūzgān
441492586 Tarīn Kawt locality Afghanistan Urūzgān
441924165 Anār Darreh locality Afghanistan Farāh
442320845 Zarġun Šahr locality Afghanistan Paktīkā
442608663 Urūzgān locality Afghanistan Urūzgān
442680917 Orgūn locality Afghanistan Paktīkā
443040509 Baġrān locality Afghanistan Hilmand
443292878 Sharan locality Afghanistan Paktīkā
443832195 KÅ«šk locality Afghanistan Herāt
443940216 Šīndand locality Afghanistan Farāh
444048992 Khowst locality Afghanistan H̱awst
444156627 Gaz Āb locality Afghanistan Urūzgān
444660442 Taywarah locality Afghanistan Ä awr
444840842 Ä aznÄ« locality Afghanistan Ä aznÄ«



Which is quite messed up.


For converting the rest of the characters I used <a href="http://www.urbannatives.net/localtreechild/drupal/drupal_code/search_and_replace_characters_whole_database_drupal"; >an array I found on google</a>, and it worked well.

Did you find or do you know any way to batch conver all remaining characters to their correspondant? or an equivalency table to keep on manually changing characters?

Many thanks!

Guillermo.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Convert a latin1 db imported in utf8...
4401
July 27, 2007 05:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.