If the charset parameter of html_entity_decode doesn't work (try UTF-8?), you might have to use regular expressions during migration.<br><br><div class="gmail_quote">On Tue, Aug 24, 2010 at 5:47 PM, Michel Morelli <span dir="ltr"><<a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all. I need to import an old CMS DB to drupal. I'm importing one<br>
content type where the old "title" is like "Rhapsodie Espagnole, Ma<br>
M&amp;egrave;re l’Oye, Bol&amp;eacute;ro ecc."<br>
<br>
I need to transform &egrave; to "è", &agrave; to "à" and so on.<br>
<br>
I have thinked to use html_entity_decode() but there is a problem:<br>
"&egrave;" is transformed in a strange char, and node->title are stored<br>
like "Rhapsodie Espagnole, Ma M l’Oye, Bol ecc".<br>
<br>
Where is my error ?<br>
<br>
Tnx.<br>
<br>
--<br>
Michel 'ZioBudda' Morelli <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)<br>
Telefono: 0200619074<br>
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660<br>
<br>
<a href="http://www.ziobudda.net" target="_blank">http://www.ziobudda.net</a> ICQ: 58351764<br>
<a href="http://www.ziobuddalabs.it" target="_blank">http://www.ziobuddalabs.it</a> Skype: zio_budda<br>
<a href="http://www.ziodrupal.net" target="_blank">http://www.ziodrupal.net</a> MSN: <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
JABBER: <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]</font></blockquote></div><br>