22 May '13 - 01:51 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: special characters don't work Bug..BASS_StreamCreateURL  (Read 444 times)
fisker
Posts: 3


« on: 27 Apr '12 - 17:34 »
Reply with quoteQuote

If I use special characters then it will not if i am using a  BASS_StreamCreateURL it works if i don't use special characters  Huh

if i use the
 urltest := 'http://WEBSERver.com/testrun.mp3'  //this works  Huh

if i use this
 urltest := 'http://WEBSERver.com/æøå.mp3'  //this don't work   Huh


If I use special characters it will work if i am using the BASS_StreamCreateFile and just loads the file

help

Best regards
Ole
Logged
Ian @ un4seen
Administrator
Posts: 15259


« Reply #1 on: 27 Apr '12 - 18:00 »
Reply with quoteQuote

You could try encoding the characters, as described here...

   www.wikipedia.org/wiki/Url_encoding
   www.w3schools.com/tags/ref_urlencode.asp

For comparison, are you able to successfully open the URL in other software?
Logged
fisker
Posts: 3


« Reply #2 on: 27 Apr '12 - 18:42 »
Reply with quoteQuote

Letter ASCII HTML
Æ alt + 146 Æ
Ø alt +0216 Ø
Å alt + 143 Å
Ö alt + 153  
æ alt + 145 æ
ø alt +0248 ø
å alt + 134 å
ö alt + 148  

http://users.cybercity.dk/~nmb3879/tree.html


yes i can oppe it in IE and it starts play in windows media player and Quicktime player
« Last Edit: 27 Apr '12 - 20:30 by fisker » Logged
gnag
Posts: 160


« Reply #3 on: 28 Apr '12 - 13:15 »
Reply with quoteQuote

URLs (specially with Special Characters) have to be URL-Encoded in lots of Programs so if it works if you encode it it is not a Bug for me.
Logged
fisker
Posts: 3


« Reply #4 on: 28 Apr '12 - 19:45 »
Reply with quoteQuote


yes this is right if i encode the URL it works ..

Regards ole
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines