iconv: Force encoding before removing accented characters


/ Published in: PHP
Save to your folder(s)

I was trying to remove accented characters and the character substitution was incorrect. After mucking around I realised I needed to encode.

I don't know exactly why I needed to force encoding. It might simply be because the server was linux.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.