Comments (6)
Info: this problem is still present in 0.14.6
from radiodroid.
this is a harder bug to fix than it looks :(
the http standard allows only ASCII characters. (basic ASCII)
JAVA does use UTF8, which some standards say is a good solution. but some german radio stations do use ISO 8859-1
i tried to reimplement the whole http request with low level sockets. which works, but maybe there are radio stations out there, which use UTF-8....
this is bad, there is no real solution which works for all. at least as far as i can see it :(
it would be interesting to know how for example japanese or chinese stations do their encoding.
from radiodroid.
i think different phones do behave differently because of different java versions inside. at the moment i use pure java API to get the strings for the radio station name. so that means, some android versions do it one way, some do it the other way.... :(
from radiodroid.
thanks so far for your efforts.
from radiodroid.
I think UTF-8 should become the default sooner than later. Latest versions of icecast and shoutcast are defaulting to UTF-8 I guess.
Then for known older versions we should fall back to iso-8859-1 if this will persist and no better solution will be found.
It'll be additional extra work trying to identify those older servers inspecting their ICY headers, however hopefully there is a way.
I am just going through the code to have better understanding on how this is currently implemented.
I know people building desktop apps such as VLC or Foobar 2000 are facing similar issues.
from radiodroid.
see #241
from radiodroid.
Related Issues (20)
- Icons disappearing when refreshing station list
- Please allow more favorite stations HOT 1
- [Feature request] Add functionality to import history from another phone
- local tab doesn't show correct country
- RadioDroid can't connect to stations HOT 3
- Alarm clock function: Stop the radio stream, not just pause it (Android 14) HOT 4
- Radio-browser
- Feature request: export track history HOT 1
- In listviews, station trend icon should be moved to a subtoolbar instead of overlaying the cover icon
- In station details fullscreen view, changing the station's favorite / unfavorited status does not update the star icon button state to empty (hollow) or full filled
- Connection to station list failed HOT 17
- “Could not connect to radio browser server” HOT 18
- Local stations not loading on Samsung Tab S8
- Stationsicons werden nicht angezeigt
- in-stream Metadata not shown HOT 1
- Metered connection detected/not playing
- Chromecast UI redesign
- Hardrockin80s
- Support for recording the *current* track
- request, reduce volume when sleep mode. ex 10db
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radiodroid.