Recent

Author Topic: Character variables and other languages [SOLVED]  (Read 2411 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 10929
Re: Character variables and other languages [SOLVED]
« Reply #15 on: May 08, 2021, 03:34:40 pm »
Not wrong it is UTF8 again.. Which takes 4 bytes...
The average programmer productivity is 4-5 hours per day. Peak performance 72 hours for short bursts. MTBF is 1 second or less.

PascalDragon

  • Hero Member
  • *****
  • Posts: 3406
  • Compiler Developer
Re: Character variables and other languages [SOLVED]
« Reply #16 on: May 08, 2021, 03:54:57 pm »
AnsiChar and WideChar don't support UTF-8 by themself. If you want to assign a UTF-8 sequence that results in 3 or 4 Byte the left side must be a string type. A UTF-8 sequence that results in 1 Byte can be assigned to both AnisChar and WideChar. A UTF-8 sequence that results in 2 Byte can be assigned to a WideChar.

 

TinyPortal © 2005-2018