• Noelia Marin
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
I exporting data to csv but when I read Excel file I see these characters:

Número factura
Logística
�rea factura

My code, controller:

var hiddenElement = document.createElement('a');         
hiddenElement.href = 'data:text/csv;charset=utf-8,' + encodeURIComponent(csvStringResult);
hiddenElement.target = '_self';

What should I do to see the characters correctly?

Thanks,

Noelia
I exporting data to csv but when I read Excel file I see these characters:

Número factura
Logística
�rea factura

My code, controller:

var hiddenElement = document.createElement('a');         
hiddenElement.href = 'data:text/csv;charset=utf-8,' + encodeURIComponent(csvStringResult);
hiddenElement.target = '_self';

What should I do to see the characters correctly?

Thanks,

Noelia