Accentuation in select

Asked

Viewed 130 times

1

I’m trying to export some records from the Mysql database to Excel, But when you open the spreadsheet where there’s an accentuation, there’s a sign that I can sort this out?

  • 2

    What is the charset of the database and your php file?

  • 1

    The problem is coding. Probably your base is in UTF-8 and Excel always uses ISO-8859-1. I can’t remember if you have any Mysql client settings to convert the data, but you might try using maybe Notepad++ to convert the encoding before putting in Excel.

  • Put the code that generates the excel file.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.