The Audioscrobbler plugin

Creating and modifying plugins.
Post Reply
davidcrickett
Regular
Posts: 83
Joined: Sat Oct 01, 2005 10:25 am
Location: Denmark
Contact:

The Audioscrobbler plugin

Post by davidcrickett »

A great plugin, works fine with Last.fm - but why is the config in scrambled German (the u umlauts look like &%¤# in UTF-8 ). Isn't there an update? I tried to translate the lang_de.inc.php file but it didn't show up anywhere.
read my serendipity blog
http://blangstrup.info
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: The Audioscrobbler plugin

Post by garvinhicking »

Hi!

Hm, in the CVS there is a file in the UTF-8/ directory of the plugin, which looks like proper UTF-8 here! Can you check that file with an editor and make sure you save it in UTF-8 encoding? And that your editor does not double-encode the UTF entity?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Post by deadpoeticstar »

ive looked over the code...and it seems to be just fine other than it being in German...but why is there a UTF-8 folder containing the lang_de.inc.php file when it is already in the original folder to begin with?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Because the file in UTF-8 subdir needs to be in UTF-8 encoding, and in the main directory it needs to be in ISO-8859-1 encoding. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Post by deadpoeticstar »

ill get back to you to make sure its not double UTF-8 but in the meantime could you translate it to english :P i dont speak german...though luck helps me guess a few words here and there :lol:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I'm sorry but I don't have time for that right now; maybe you'd like to contact the original creator of the plugin or ask on the german forum if someone wants to translate it? I can commit the file then.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Post by deadpoeticstar »

how can you tell the difference between ISO and UTF?

doesnt matter..i got it working :)

ill provide a screen shot of my mock up if that will help?

the topic author
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Any decent text-editor can tell you the encoding. UTF contains 2-byte special characters, ISO only one-byte characters. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
davidcrickett
Regular
Posts: 83
Joined: Sat Oct 01, 2005 10:25 am
Location: Denmark
Contact:

Post by davidcrickett »

Sorry for the delayed answer! I have only a german .de file here in my UTF-8 folder and the other one too! Ach, verdammt! ;)
read my serendipity blog
http://blangstrup.info
deadpoeticstar
Regular
Posts: 56
Joined: Tue Apr 18, 2006 3:10 pm

Post by deadpoeticstar »

David if you would like a screen shot so you know how to set it up ill be glad to provide it :)
Post Reply