Spanish characters in file name

Nelson
Nelson
Offline
0
Hi Germinal, I have a small issue playing spanish songs on Firefox and Internet Explorer ( it works fine in Google chrome ) it seems like songs with spanish caracters don't play on these two browsers.. for example, if I have a song called "la otra españa.mp3" won't play on Firefox, but it will play fine in Google chrome.. how can I fix this problem without going renaming all the files? can you help me please :)
Responses (17)
  • Accepted Answer

    Tuesday, October 29 2013, 08:11 PM - #Permalink
    1
    we could try to utf8 encode the file names to avoid the issue... to try this, I would need FTP access to the site. can you send it to support@ joomlathat.com?
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Friday, November 01 2013, 04:52 PM - #Permalink
    0
    Hi Germinal, the hack you did in the "xspf.php" file fixes the firefox and IE problem, but then Chrome stops working. I've been trying to find a solution to this issue and I found this thread http://stackoverflow.com/questions/9975149/difference-firefox-chrome-when-encoding-umlauts

    can you be a little bit more technical on what is causing this problem? is it because of encoding differences in firefox and chrome? I have a private web server, so any suggestion from apache hacks, to database hacks works for me..

    thanks again.
    Nelson
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Saturday, November 02 2013, 04:36 PM - #Permalink
    0
    Germinal will you help me with this? this is the only hiccup that I have - for now ;)

    here is my problem. songs with Spanish characters play fine in the album page. here for example http://melodiasdeayer.com/j/3-jose-luis-perales/14-el-pregon if you click on the first song, the songs plays fine.

    but if you open the song http://melodiasdeayer.com/j/3-jose-luis-perales/14-el-pregon/172-el-pregon it does not play... again this only happens with songs or albums with spanish characters on it.

    to login to the site use:

    username: guest
    password: guest

    thanks man, I really appreciate your help.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 03 2013, 11:34 AM - #Permalink
    0
    hello Nelson,

    no, it's not an "encoding difference" (the encoding is the same for all, only it looks like some browsers read it better than others...)

    the problem you mention is a different thing, it's because on the individual song page we haven't encoded it... that's all.
    however I can't see any song with an actual lfile in this album?...

    your template looks familiar...;)
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Sunday, November 03 2013, 11:56 PM - #Permalink
    0
    Hi Germinal, how do we encode the individual song page too? :p
    • Germinal Camps
      more than a month ago
      first I need you to send me a link where this happens.. the page you sent me does not have a player, meaning there is no song in it.. ! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Monday, November 04 2013, 06:23 PM - #Permalink
    0
    Germi, you need to login to see the player. please use "guest" "guest" to test..
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 04 2013, 06:30 PM - #Permalink
    0
    on file /components/com_muscol/views/song/view.html.php on line 65 you need to set this:

    $js_songs_url[] = "songs_position_url[0] = \"".utf8_encode(MusColHelper::getSongFileURLslashes($song))."\";" ;

    the strangest thing is that for me it works (without this code..) I can play it fine on Chrome...
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Monday, November 04 2013, 07:26 PM - #Permalink
    0
    you can play it in the song view? I don't know man, something screw up with my browser then.. because I added the code, and still does not play..
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 05 2013, 10:55 AM - #Permalink
    0
    I could play it before, and also now...
    you're in Chrome?
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Tuesday, November 05 2013, 05:27 PM - #Permalink
    0
    yes, I'm using chrome and firefox.. it works fine on Firefox now.. on Google Chrome it plays OK on the "Song view" but in the Album view is not working now.. here is the link to the album.. test with the first song with the tilde http://melodiasdeayer.com/j/3-jose-luis-perales/14-el-pregon

    thanks man, I owe you a beer :)
    • Germinal Camps
      more than a month ago
      Nelson, to test changes I really need the FTP working. I can connect, but can't upload.. can you check the permissions?
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Wednesday, November 06 2013, 02:35 PM - #Permalink
    0
    OK. now you have write permissions..
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Friday, November 08 2013, 01:37 PM - #Permalink
    0
    Hi Germi, have you got a chance to look into this issue? :) if you are busy ts fine take you time, just don't forget about me ;)
    • Germinal Camps
      more than a month ago
      I don't forget abou you ;) it's just that I'm out of the country for a couple days! sorry for the waiting.
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Saturday, November 09 2013, 05:14 PM - #Permalink
    0
    no problem Germi, enjoy your vacation, or whatever you're doing overseas :)
    • Germinal Camps
      more than a month ago
      I've tried another change :) can you check now?
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Tuesday, November 12 2013, 05:58 PM - #Permalink
    0
    Hi Germi, welcome back from your vaca...

    it works on Chrome now, but IE and firefox still have the issue..
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Tuesday, November 12 2013, 06:20 PM - #Permalink
    0
    Google Chrome works fine 100%.... Firefox plays the song fine on the album page, but not on the indvidual song page, IE is the same.
    The reply is currently minimized Show
  • Accepted Answer

    Nelson
    Nelson
    Offline
    Tuesday, November 12 2013, 06:35 PM - #Permalink
    0
    funciona bien en Firefox, y chrome ahora.. IE no funciona de ninguna forma.. estoy usando IE 10.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 12 2013, 08:11 PM - #Permalink
    0
    I can't test on Explorer, I don't have access to it. are you able to see if there's some JavaScript error showing up in the console?
    The reply is currently minimized Show
Your Reply