I've just started to play with Firefox OS doing first app.
In app I'm using File API in order to get list of files in storage, but there is a problem here, I'm getting cyrillic paths in name
property like this:
Moonbeam/Moonbeam/Albums/(2008) ÐÑикоÑновение [UL 077715]/07 Ðдин ÐенÑ.mp3
while correct should be
Moonbeam/Moonbeam/Albums/(2008) Прикосновение [UL 077715]/07 Один День.mp3
Not sure wether this is a bug inside Firefox OS Simulator or somewhere else. All files names in utf-8 encoding, I expected to get corresponding string.
Ubuntu 14.10 x64, Firefox 31.0, Firefox OS 1.4 Simulator
navigator.getDeviceStorage('music').enumerate().onsuccess = function () {
var file = this.result;
console.log(file.name);
this.continue();
};
navigator.getDeviceStorage('music').enumerate().onsuccess = function () { var file = this.result; console.log(file.name); this.continue(); }
– nazar-pc Jul 09 '14 at 21:10