I have UTF-8 text stored in DB and served as text/plain; charset=utf-8
in a web application. All the things are working fine. I can see the UTF-8 text on browser window without any problem.
But when I save that text to a file and try to open it in Windows Notepad, I got some characters missing and displayed as a small rectangular box. However, the text file looks fine in other editors like EditPlus and Notepad++.
How is this caused and how can I solve it?