Reputation: 1
I have an issue when i try to convert encoding in PHP with mb_convert_encoding
function.
The main idea is to change the format of a 'CSV' file which has an 'ISO-8859-1' encoding. I want the output formatted 'CSV' be in 'UTF-8' encoding and be readable just like the input.
mb_convert_encoding
gets the job done, however, when i try to open the formatted CSV with Notepad++ i get bizarre characters instead of the Greek ones which the 'ISO-8859-1' original CSV had.
Why is that?
Upvotes: 0
Views: 473
Reputation: 1122
Notepad++ is probably opening the file as ASCII. Click Encoding -> UTF-8
Upvotes: 0