| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Sun Nov 04, 2007 8:49 pm Post subject: Character encoding - Icecast - win xp, 2k |
|
|
Hi there everybody,
I'm running some tests while trying to have Greek informations shown in my Icecast YP mount points...
For sure we have UTF8 encoding in status pages etc but I see Greek characters only when I run the Icecast server in "Windows XP Greek version OS"!!!
When I have the Icecast server running in any other windows version like English XP or English 2003 Server (even with Greek fonts and regional settings) we don't see Greek [or any other non Latin characters - so this goes to many countries].
So running Icecast in Greek Windows XP gives us full support for Greek characters in status.xsl etc while any browser (windows and linux checked) shows the pages with correct content. This is in Greek ISO and Windows ISO page encodings. In UTF8 encoding we have again incorect content in every case.
There is another problem. We can't have special mounts in icecast.xml with e.x. genre in Greek characters. Everything has to be in English/Latin characters. So we are unable to mount our sources with our specific details...
If anyone has any ideas, welcome!
Thats all for now.
Have a great day/night
Panos |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Nov 04, 2007 10:05 pm Post subject: |
|
|
For the xml/xsl pages and YP, UTF8 is a requirement as you may have multiple character sets used from different streams. For ogg streams, UTF8 is part of the specification but for mp3 streams, the metadata is anyones guess although usually it's latin1 (iso-8859-1).
With 2.3.1, you are limited for non-ogg streams as there is no conversion and effectively UTF8 is assumed. If you try the trunk code then you should find that the default is ISO-8859-1 but you can tell icecast that the incoming character set is something else and it will convert it for you. Just specify <charset> in <mount> and the YP and web pages should be fine.
The one place where it won't show up correctly is the win32 stats window on the systems you mentioned as that would need some working on as it's win32.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Nov 05, 2007 6:49 am Post subject: Greek characters YP - ID mp3 tags |
|
|
Hi there KarlH,
maybe I didn't make it very clear...
We indeed have a problem in icecast.xml while trying to mount streams with greek information... where I can't see any solution.
BUT when we want to have correct characters in YP and mp3 ID tags we JUST HAVE TO RUN Icecast in a GREEK VERSION of WINDOWS XP!
This was the finding of my many tests. No need to go make code to transcode characters with the risk to make mistakes and loose many hours etc.
This may be the solution to many other special character languages... just use a native translated windows xp for os.
It works fine.
Panos |
|
| Back to top |
|
 |
|