I am storing the euro symbol, € (Alt+0128), and some text in a mysql table. I am then using a select statement to grab this field and write it and some other data to a text file. I want the text file in unicode so I am converting the string from the mysql table to unicode using mb_convert_encoding. The code that converts the string is below.
$f = fopen ("datafile.csv",'w');
$output = mb_convert_encoding($input, 'UTF-8');
When I open datafile.csv in Notepad++ the euro symbol (€) is being displayed as a blank. Does anyone know what would be causing this? Thanks in advance.