flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > du options on Linux

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 243
Mike Gonta 30 Jul 2017, 22:17
Windows has code page and UTF-8 redefinitions for du macro.
How about Linux.

_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com
Post 30 Jul 2017, 22:17
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 30 Jul 2017, 22:23
Do you mean to ask what code pages does the Linux console support? Because the du macros in the Windows download can still be used in Linux assuming that Linux uses the same code page sets.
Post 30 Jul 2017, 22:23
View user's profile Send private message Visit poster's website Reply with quote
Mike Gonta



Joined: 26 Dec 2010
Posts: 243
Mike Gonta 30 Jul 2017, 22:30
revolution wrote:
Do you mean to ask what code pages does the Linux console support? Because the du macros in the Windows download can still be used in Linux assuming that Linux uses the same code page sets.
I'm not (yet) a Linux user, but it seems that Linux uses UTF-8 instead of code pages. If Linux only uses Unicode then FASM would have to use UTF-8. However, the UTF8.INC macro is not in the FASM Linux package.

_________________
Mike Gonta
look and see - many look but few see

https://mikegonta.com
Post 30 Jul 2017, 22:30
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 30 Jul 2017, 23:31
I think the main purpose of the du macros is to convert source code in one code page (which could be UTF-8 or CP1250 or whatever) into Unicode (UCS-2 or UTF-16). But if Linux doesn't support UCS-2 or UTF-16 then du is not going to be helpful to you.
Post 30 Jul 2017, 23:31
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.