On Thu, 19 May 2022, Alvin Wong wrote:

> > Windows were all DBCS. It might not be worth fixing the codec implementation

> explicitly in docs that MBCS uses longer than 2 bytes per character,

AIUI it is so that:

• SBCS: all characters are one byte and one screen column

• DBCS: all characters are one or two bytes, and as many
  screen columns as they have bytes (in most encodings)

• MBCS: characters are some amount of bytes (1, 2, 3, …)
  and some amount of screen columns, with no direct connection


Classical Windows only supported SBCS, Classical Asian Windows
also DBCS, and NT did both but UCS-2 backed. UTF-16 and MBCS
support is newer.

IIRC,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to