OK Vladislav. I am in worst position than you, cause I use Delphi 7 only ;-) I will system unicode encode/decode with your functions. As I tested the result is OK after you save file from PSPad. I got same result as you described (this one you call OK)
-- <http://forum.pspad.com/read.php?4,45099,64634> PSPad freeware editor http://www.pspad.com
