Nп/п : 23 из 73
От : Michiel van der Vlist 2:280/5555 22 фев 25 14:25:10
К : Sergey Dorofeev 22 фев 25 16:47:02
Тема : UTF-8 nodelist report
----------------------------------------------------------------------------------
@MSGID: 2:280/5555 67b9d037
@REPLY: 2:5020/12000 4f5391a7
@TID: FMail-W32 2.3.0.1-B20240319
@RFC-X-No-Archive: Yes
@TZUTC: 0100
@CHRS: UTF-8 4
Hello Sergey,
On Friday February 21 2025 03:30, you wrote to me:
SD> can you please, if you mark your message as "UTF-8", post erroneus
SD> string in safe way, e.g. as hex dump, or replacing invalid codepoints
SD> with some character like question mark? If you copy from nodelist
SD> INVALID string with BINARY AS IS, it obviously makes your message
SD> invalid too. I was to forcibly mark your message as CP437 to read it,
SD> becouse trying to decode it as UTF-8 ends with error.
Hmm.. I see your point.
The program I wrote many years ago only detects the first
appearance of a non valid utf8 sequence in a line. It ignores any other
invalid sequences in the same line. So only the first occurence is replaced
by a question mark, the rest is copied as is.
I think I have found a work around.
Cheers, Michiel
--- GoldED+/W32-MSVC 1.1.5-b20170303
* Origin: Nieuw Schn├╕├╕rd (2:280/5555)
SEEN-BY: 50/109 154/10 203/0 221/6 240/5832 280/464
5555 292/789 301/1 310/31
SEEN-BY: 341/66 460/58 5015/46 5019/40 5020/715 830
848 1042 4441 12000
SEEN-BY: 5030/49 1081 1474 5058/104 5061/133
5075/35
@PATH: 280/5555 5020/1042 4441