Recent

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

Thaddy

  • Hero Member
  • *****
  • Posts: 10811
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...

PascalDragon

  • Hero Member
  • *****
  • Posts: 3319
  • 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