flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Macroinstructions > du options on Linux

Author
Thread Post new topic Reply to topic
Mike Gonta



Joined: 26 Dec 2010
Posts: 202
du options on Linux
Windows has code page and UTF-8 redefinitions for du macro.
How about Linux.

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

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


Joined: 24 Aug 2004
Posts: 15237
Location: 1I/╩╗Oumuamua
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: 202

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

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


Joined: 24 Aug 2004
Posts: 15237
Location: 1I/╩╗Oumuamua
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.