Hi,
I get following error:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE4 0x74 0x74 0x2C in googleWeather->request_data() (line 43 of /var/www/vhosts/xn--mydomain.de/httpdocs/sites/all/modules/google_weather/google_weather.inc).
Warning: simplexml_load_string() [function.simplexml-load-string]: mobile_zipped="1" row="0" section="0" >request_data() (line 43 of /var/www/vhosts/xn--mydomain.de.de/httpdocs/sites/all/modules/google_weather/google_weather.inc).
Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in googleWeather->request_data() (line 43 of /var/www/vhosts/xn--mydomain.de/httpdocs/sites/all/modules/google_weather/google_weather.inc).
Any idea?
Comments
Comment #1
maynardo CreditAttribution: maynardo commentedI have the exact same issue but it is with the new beta-2. Please help!
Comment #2
maynardo CreditAttribution: maynardo commentedI managed to fix it, went to google_weather.inc mentioned in the warning and just above the line 43 I uncommented this:
if (mb_detect_encoding($data, 'UTF-8', TRUE) !== 'UTF-8') {
$data = utf8_encode($data);
}
bye bye triple warning. Hope it helps someone
Comment #3
damiankloip CreditAttribution: damiankloip commented@maynardo, Not sure why this got commented out. There was a reason at the time :) It certainly needs to go back in though.
@jospBln, next time please provide more info - rather than just copy and pasting an error message.
What languages etc.. are you guys using? just out of interest...
Comment #4
maynardo CreditAttribution: maynardo commented@damiankloip I'm using spanish
Comment #5
jospBln CreditAttribution: jospBln commented@damiankloip I'm using german
Comment #6
damiankloip CreditAttribution: damiankloip commenteduncommented, will be in next release, with field support.