Hi Jchd, Thank you for your quick reply.
Unfortunately, even this function won't return the correct value.
ConsoleWrite (_CodepageToString(_StringToCodepage("★")))
The result is: ?
I lost a couple of days reading your posts before ask here, and trying out functions like MultibyteToWideChar () and others.
The workaround could be to pass the correct string from PHP to autoit, cause the PHP function utf8_decode () function does the job correctly.
But I would like to do it in autoit. So I could read the db directly from autoit and make same loops job with it.
Any idea?