I am trying to analyze the page "iso-8859-1" and save it in my db using utf-8, this is my code:
var buffer = iconv.encode(data, "iso-8859-1"); data = iconv.decode(buffer, 'utf8');
This does not work. All characters, such as å or ä, are converted to �
How to save these characters?
source share