Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Problems with danish char in database

From: =?iso-8859-1?Q?Tine_M=FCller?= <tinem@-----.-->
To: NULL
Date: 4/7/2008 10:39:00 AM

Just forget this last post. A danish guy gave me the "easy" tip.

  $name=$row['name'];
  $name=utf8_encode($name);
  $newnode->setAttribute("name", $name);
  $address=$row['address'];
  $address=utf8_encode($address);
  $newnode->setAttribute("address", $address);

Everything is now functioning 
http://www.tinemuller.dk/googlemap/tutorial/storelocator/library_phpsqlsearch_map.htm

/Tine



"Tine Müller" <tinem@e...> skrev i en meddelelse 
news:GckKj.3$Bq2.2@n......
> Thanks for trying to help but it will not work no matter what I do.:-(
>
> I would ask you if you would please tell me WHAT code to change from the 
> tutorial 
> http://code.google.com/support/bin/answer.py?answer=87134&topic=11364 when 
> it used with danish char in the table so that I can try that? And I will 
> use utf-8 all the places and then it should work but it doesn't.:-(
>
> Information about webserver
>      OS: Debian Linux 4.0
>      Webserver: Apache 2
>      PHP: Yes, PHP 5.2 - phpinfo
>      PHP safe-mode: Not on
>      MySQL: Yes, MySQL 5.0
>
> My table use "utf8_danish_ci".
>
> /Tine
>
>
>
>
>
> 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent