Hello. I have a program that use Winsock to receive mails.
The problem is that some characters in a mail the program receives is being replaced with a code or something. For example ยค is replaced with =A4.
Printable View
Hello. I have a program that use Winsock to receive mails.
The problem is that some characters in a mail the program receives is being replaced with a code or something. For example ยค is replaced with =A4.
Perhaps it's a problem converting unicode to ascii. If you transmit in unicode or ascii, and then convert back to ascii or unicode. The code can get messed up, since unicode has a much greater character range. I would use some string conversion, if that doesn't work then it's probably a connection error.
Looks to me like it's more of problem of MIME type. The program is assuming plain ASCII characters.