Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Kuaave

Problem with setRequestHeader (X-FILE-NAME) - Cannot convert string to ByteString because the character at index 0 has value 1044 which is greater than 255.

  • 1 Mbohovái
  • 26 oguereko ko apañuãi
  • 2 Hecha
  • Mbohovái ipaháva cor-el

more options

In version 23 Firefox correctly send non-utf-8 filename via JavaScript if this construction used: xhr.setRequestHeader('X-FILE-NAME', event.dataTransfer.files[0].name);

But in version 24.0 this construction doesn't work and throw exception "Cannot convert string to ByteString because the character at index 0 has value 1044 which is greater than 255.".

How can I fix this error?

In version 23 Firefox correctly send non-utf-8 filename via JavaScript if this construction used: xhr.setRequestHeader('X-FILE-NAME', event.dataTransfer.files[0].name); But in version 24.0 this construction doesn't work and throw exception "Cannot convert string to ByteString because the character at index 0 has value 1044 which is greater than 255.". How can I fix this error?

Opaite Mbohovái (1)

more options

A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.