If the charset parameter of html_entity_decode doesn't work (try UTF-8?), you might have to use regular expressions during migration.

On Tue, Aug 24, 2010 at 5:47 PM, Michel Morelli <michel@ziobuddalabs.it> wrote:
Hi all. I need to import an old CMS DB to drupal. I'm importing one
content type where the old "title" is like "Rhapsodie Espagnole, Ma
M&amp;egrave;re l’Oye, Bol&amp;eacute;ro ecc."

I need to transform &egrave; to "è", &agrave; to "à" and so on.

I have thinked to use html_entity_decode() but there is a problem:
"&egrave;" is transformed in a strange char, and node->title are stored
like "Rhapsodie Espagnole, Ma M l’Oye, Bol ecc".

Where is my error ?

Tnx.

--
Michel 'ZioBudda' Morelli                       michel@ziobuddalabs.it
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net                        MSN: michel@ziobuddalabs.it
                                               JABBER: michel@ziobuddalabs.it

--
[ Drupal support list | http://lists.drupal.org/ ]