добавен на 29.10.2007 
Andrei Nikolov
Име: Andrei Nikolov
Sex: мъж

Университет: Софийски университет "Св. Климент Охридски"
Държава: България
Регион: София - град (Sofia Stadt)
Rating: 5.00 from 5 Visitors: 2702
e-mail
Парола
Add to My AOL Add to Bitty Browser Add to Bloglines Add to Feedlounge Add to Google Reader Add to My MSN Add to NewsBurst Add to NewsGator Add to Pageflakes Add to Pluck Add to Rojo Add to My Yahoo! Add to Technorati Favorites! Windows live Subscribe
AddThis Social Bookmark Button
Click on choosen button and use keys Ctrl + C. After paste somewhere in your html code.
studiBlog : :D КЗЛ
last update on 17.05.2008, 22:00
това е страница за КЗЛ
last update on 28.02.2008, 16:40
Май е време да напиша нещо смислено тук :)

опитвайки се да обработя информация чрез simplexml_load_file, получена от maps.google.com за координатите на адреси, съдържащи специални знаци - например "é" - се получава странна грешка -

Warning: simplexml_load_file() [function.simplexml-load-file ]: [url=http://maps.google.com/maps/geo?output=xml&key=[CODEHERE]&q=pecs%2C+Hungary:1:]http://maps.google.com/maps/geo?output=xml&key=[CODEHERE]&q=pecs%2C+Hungary:1:[/url] parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE9 0x63 0x73 0x2C in ...

Warning: simplexml_load_file() [function.simplexml-load-file ]: <code>200</code><request>geocode</request></Status><Placemark id="p1"><address>P in ...

Warning: simplexml_load_file() [function.simplexml-load-file ]: ^ in ...


Оказва се, че гугъл не връщат отговора в UTF-8, и от там идва проблема.
Отговора намерих тук - в коментарите отдолу - добавя се
&oe=utf-8
в query-то.
Tags:
del.icio.usdiggspurlwistssimpynewsvineblinklistfurlblogmarksyahoo! mywebsmarkingma.gnoliasegnaloredditfark technorati cosmos Tag it here..
Коментари:
no comments for this post yet


visit another studiPage   studi.net | Условия за ползване | Report this studiPage
Copyright © 2006-2007 studi.net - 2.0. All rights reserved.