TIP: Click on subject to list as thread! ANSI
echo: golded
to: Vitaliy Aksyonov
from: Michiel van der Vlist
date: 2024-03-06 13:38:00
subject: Need volonteers to test a

Hello Vitaliy,

On Monday March 04 2024 07:58, you wrote to me:

 VA> Best possible way is to use UTF-8 for all strings inside and only
 VA> convert text when read/write from/to message base and to screen.

I agree. That will be the easiest way to make as many Fidonet participants use UTF-8 all the way. With the sceen set to CP65001 writing to and from the screen should need no conversion.

 VA> And even if drop DOS support - need to take into account OS specifics
 VA> for Unicode.

Such as? Even OS/2 has full UTF-8 support doesn't it?

 VA>  As long as GoldEd uses fixed size buffers in many places -
 VA> that's huge refactoring. Better to replace it with std::string almost
 VA> everywhere.

Perhaps, but that won't solve the problem that when writing back to the message base strings have to be of fixed lenght for the To:, From:, Subj: and other fields. It may be necessary to truncate in order to fit. Truncating should be done on a UTF-8 sequence boundery. If need be step back until a byte with bit 7 and 6 set.

 VA>>> For example function, which splits message to lines is almost
 VA>>> 1000 lines long! It has variables, used in multiple places, it
 VA>>> not only splits the message, but guess charset, do recoding and
 VA>>> other fun stuff.

 MvdV>> Wauw!

 VA> That's one of the reasons, why progress is slow.

Keep up the good work!


Cheers, Michiel

--- GoldED+/W32-MSVC 1.1.5-b20170303
                                                                                      
* Origin: Nieuw Schn¨¨rd (2:280/5555)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.