Nullstr1ng / spotify-local-api

Automatically exported from code.google.com/p/spotify-local-api
0 stars 0 forks source link

Encoding issues, special characters appear wrong #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Play music with weird titles 
(http://open.spotify.com/track/62pIfDe2RdhUfYmRWdo9ZJ)
2. Run example program
3. See the weird characters look weirder

What is the expected output? What do you see instead?
Tacatà instead of Tacatà

What version of the product are you using? On what operating system?
1.1.0.0

Original issue reported on code.google.com by filiptomren on 3 Sep 2012 at 8:06

GoogleCodeExporter commented 9 years ago

Original comment by jar...@gmail.com on 26 Feb 2013 at 4:10

GoogleCodeExporter commented 9 years ago
Just adding the following line to the constructor of the SpotifyAPI class fixed 
this issue for me:

wc.Encoding = Encoding.UTF8;

Original comment by timo@rothenpieler.org on 25 Jul 2013 at 9:05