flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > Unicode support |
Author |
|
Tomasz Grysztar 19 Apr 2005, 06:49
Look here: http://board.flatassembler.net/topic.php?t=307 (and also older thread which inspired it).
I believe something similar might be done for UTF-16. Last edited by Tomasz Grysztar on 19 Apr 2005, 21:21; edited 1 time in total |
|||
19 Apr 2005, 06:49 |
|
f0dder 19 Apr 2005, 12:50
I never quite understood the point in UTF-8/16 source files - obviously it's necessary when localizing strings, but for source code? Programming is international, and labels/data/comments should be in english, really.
Oh well, just my opinion. GoAsm has full unicode support. |
|||
19 Apr 2005, 12:50 |
|
Chewy509 19 Apr 2005, 23:49
f0dder wrote: I never quite understood the point in UTF-8/16 source files - obviously it's necessary when localizing strings, but for source code? Well, from the example, it allow non-english speakers to use labels, have comments, and strings in their native language, and within a single source file have ALL language scripts available. While, I've implemented a few macros to construct UTF-16 strings from ASCII source, it doesn't help when I want to use some of the mathematical characters provided within the unicode definations. Generally I end up with: {label} du "Greater or equal to symbol: ",2265h, 0h even though I would prefer to see: {label} du "Greater or equal to symbol: ≥",0h within the source file. f0dder wrote: Programming is international, and labels/data/comments should be in english, really. Even though I agree that most of the world technology bases are english speakers (or languages that use a latinised character script), but one has to consider both India and China, which are upcoming in the technology arena. Why not cater for those non-english speakers? I'm not saying it has to be done at all, but something that should be added to the TODO list and given some consideration. |
|||
19 Apr 2005, 23:49 |
|
f0dder 20 Apr 2005, 00:09
Quote:
Partially because of globalization - you have to "work without borders". I would hate being assigned a project with comments or, even worse, variable names, in non-english. People that don't speak english should really learn to, if they want to work with programming. I know this sounds harsh and cynical, but it's the reality of this world. As for "and within a single source file have ALL language scripts available.", well... when projects get large enough, you need some external tool to manage the localized strings. I wouldn't even use unicode resource strings, as I haven't seen any resource editor that handles strings in a proper way. Also, you need to be able to ship the localization data + an editor to your translators. |
|||
20 Apr 2005, 00:09 |
|
MCD 20 Apr 2005, 07:19
Well, lots of software companies promised us "wellfare comes with unicode utf16", but still it is either badly supported or takes up a lot of space just for the fonts and other language resources.
While we watch software standards getting slowly accustomed, we could start using the full range of utf8 characters meanwhile - I mean char 128-255 have always been supported by fasm, and with proper keyboard codepages, you can even use them like this: Code: ÇüéâäåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃:;this is a label |
|||
20 Apr 2005, 07:19 |
|
mike.dld 20 Apr 2005, 07:27
Even if I would have a compiler that supports russian characters for identifiers (and actually I CAN declare symbols with russian characters using FASM) I would never use this feature. First, because it's habit alike. Second, you never know who'll read your source, and English is an international language. So IMHO it's not a good idea to support Unicode source files.
|
|||
20 Apr 2005, 07:27 |
|
MCD 20 Apr 2005, 07:34
mike.dld wrote: Second, you never know who'll read your source, and English is an international language. So IMHO it's not a good idea to support Unicode source files. |
|||
20 Apr 2005, 07:34 |
|
f0dder 20 Apr 2005, 09:17
One of my friends got a job for a company that makes software for the educational sector (exam planning and such). First, they use danish identifiers (including danish chars, æøåÆØÅ). Second, they use smalltalk . It's pretty damn awful. There's some pretty heavy calculations in there as well, and needless to say smalltalk isn't very fast.
Companies like that should have a thorough beating. |
|||
20 Apr 2005, 09:17 |
|
MCD 20 Apr 2005, 09:39
f0dder wrote: Companies like that should have a thorough beating. _________________ MCD - the inevitable return of the Mad Computer Doggy -||__/ .|+-~ .|| || |
|||
20 Apr 2005, 09:39 |
|
f0dder 20 Apr 2005, 17:18
Unfortunately, they *are* used to slow and sloppy software - they don't question that it takes 10+ seconds from clicking a button until the resulting dialog shows up. Nor that the computations can take a couple hours when it should take max 15 minutes.
*sigh* |
|||
20 Apr 2005, 17:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.