Hello world,Yay? :) I'm so used to using larger signed integers and various tricks
J3 has passed https://j3-fortran.org/doc/year/24/24-116.txt , a
proposal for unsigned numbers in Fortran, in their February/March
meeting.
Gfortran 15, to be released in the beginning of 2025, will contain
an experimental implementation of that proposal. The current
development version already has that documentation, so if you
are so inclined, you can download and compile it for yourself to
try it out already.
This feature can be accessed by using the -funsigned flag.
Some short documentation can be found at
https://gcc.gnu.org/onlinedocs/gfortran/Unsigned-integers.html
Test cases (also doubling as use examples) can be found at https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=gcc/testsuite/gfortran.dg
(any file that has "unsigned" in its name).
Bug reports and comments are welcome.
Enjoy!
Best regards
Thomas
J3 has passed https://j3-fortran.org/doc/year/24/24-116.txt , a
proposal for unsigned numbers in Fortran ...
https://gcc.gnu.org/onlinedocs/gfortran/Unsigned-integers.html
Any plans to support UTF16 or UTF8 in gfortran ?
Any plans to support UTF16 or UTF8 in gfortran ?
On 10/15/2024 5:35 PM, Lawrence D'Oliveiro wrote:
On Tue, 15 Oct 2024 15:26:42 -0500, Lynn McGuire wrote:
Any plans to support UTF16 or UTF8 in gfortran ?
No UTF-16, please!
That was just a horrible backward-compatibility hack for the sake of those >> platforms (*cough* Java, Windows NT *cough*) that embraced Unicode as
their native encoding just a little too soon.
Aren't all of the Unix and Linux boxen either UTF-16 or UTF-32 ?
Aren't all of the Unix and Linux boxen either UTF-16 or UTF-32 ?
Come over here to Windows. UTF-16 is the name of the game. It is a
total pain.
Microsoft is rumored to be working on a UTF-8 API for Win32 / Win64. I
will believe it when I see it.
On 11/9/2024 5:57 AM, Thomas Koenig wrote:
Lynn McGuire <lynnmcguire5@gmail.com> schrieb:
On 10/15/2024 5:35 PM, Lawrence D'Oliveiro wrote:
On Tue, 15 Oct 2024 15:26:42 -0500, Lynn McGuire wrote:
Any plans to support UTF16 or UTF8 in gfortran ?
No UTF-16, please!
That was just a horrible backward-compatibility hack for the sake of those >>>> platforms (*cough* Java, Windows NT *cough*) that embraced Unicode as
their native encoding just a little too soon.
Aren't all of the Unix and Linux boxen either UTF-16 or UTF-32 ?
Most certainly not:
$ echo $LANG
de_DE.UTF-8
Haven't seen anything but UTF-8 in a long time.
Come over here to Windows.
UTF-16 is the name of the game. It is a
total pain.
On 11/9/2024 5:57 AM, Thomas Koenig wrote:
Most certainly not:
$ echo $LANG
de_DE.UTF-8
Haven't seen anything but UTF-8 in a long time.
Come over here to Windows. UTF-16 is the name of the game. It is a
total pain.
Microsoft is rumored to be working on a UTF-8 API for Win32 / Win64.
I will believe it when I see it.
How about UCS-2?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 130:53:01 |
Calls: | 9,690 |
Calls today: | 6 |
Files: | 13,728 |
Messages: | 6,177,562 |