2
I did several searches 2 days ago and tried everything but I could not solve the problem, which is the following:
I enabled IIS in Windows 10 64 bit home to use local pages in classic ASP. Until then all beauty, working well, but I realized that when sending a text with accentuation through a POST
on a form and capturing it by a REQUEST
, where it has accent it returns strange characters, as if the server does not recognize accents.
For example: the word "chapter" comes in the REQUEST
as "cap�tulo", and in the Mysql database is recorded as "cap? tulo". If I put the QUERY
direct in the URL (e.g. ?name=chapter), the REQUEST
returns wrong also "chapter-tulle" but writes correctly in the database.
I’m a little inexperienced at this and I’ve fucked up and I can’t fix it. Someone would know how to fix it?
Your problem seems to be encoding (English). It would look at settings of localization or globalization in IIS and Mysql the option CHARACTER SET. I recommend reading the text The Absolute Minimum that all Software Programmers absolutely and positively need to know about Unicode and character sets (no excuses!) - The Joel on Software Translation Project
– Ailton Andrade de Oliveira