Freeman: -------------------------------------------------------------------------------- vbr: -------------------------------------------------------------------------------- It seems, that there might be some problems with [b][i]wide unicode characters[/i][/b] (over hex 0xFFFF) --------------------------------------------------------------------------------
Problem still exists in build 2655. Some sites like VK.com using Unicode emoticon characters to encode smiles, most of them have codes greater than U+FFFF. My program can save messages using 4-byte UTF-8 sequences for smiles, but PSPad cannot open that file. The problem is in System.Utf8ToUnicode function under Delphi 6/7, AFAIK. You can use MultiByteToWideChar with CP_UTF8 instead, Jan. -------------------------------------------------------------------------------- PSPad works internally with 2 bytes unicode only. When you open file, all is encoded into UTF-16. Change of it isn't possible, at least without rewriting near whole program. -- <http://forum.pspad.com/read.php?4,45099,64621> PSPad freeware editor http://www.pspad.com
