flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > [bug]UTF-8 support |
Author |
|
Tomasz Grysztar 19 Mar 2007, 16:59
1. I intentionally ignored this rule, as it matters only where security is important, or where you plan to compare the UTF-8 strings etc. I did not see any advantage in signalizing such error.
2. It already does. You may have missed this fragment of UTF8.INC: Code: if wide < 10000h dw wide else dw 0D7C0h + wide shr 10,0DC00h or (wide and 3FFh) end if 3. The real problem with UTF-8 support is that if your editor put BOM as a header to your file, it won't work with fasm, as fasm will treat it as some real symbol. |
|||
19 Mar 2007, 16:59 |
|
vid 19 Mar 2007, 18:09
1.
Quote: I did not see any advantage in signalizing such error. conformace to standards, for example? 2. Quote: It already does. You may have missed this fragment of UTF8.INC 3. if you had checking for valid UTF-8 encoding during tokenization, it would be easy to add this feature |
|||
19 Mar 2007, 18:09 |
|
Tomasz Grysztar 19 Mar 2007, 18:31
vid wrote: conformace to standards, for example? vid wrote: 3. if you had checking for valid UTF-8 encoding during tokenization, it would be easy to add this feature fasm itself is encoding-transparent, that's why the encodings are supported with include files. |
|||
19 Mar 2007, 18:31 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.