User Activity

  • Posted a comment on discussion Help getting started on GnuCOBOL

    «So how do you convert from iso-8859-15 to utf8 using libiconv? How do you do the same with ebcdic source (also 8bit encodings)…?» https://www.lemoda.net/c/iconv-example/iconv-example.html Examples: iconv_t iconvDesc; iconvDesc = iconv_open("UTF-8//TRANSLIT//IGNORE", "ISO−8859-15"); https://man7.org/linux/man-pages/man3/iconv_open.3.html ... size = iconv(iconvDesc, inbuf, inbytesleft, outbuf, outbytesleft); https://man7.org/linux/man-pages/man3/iconv.3.html ... status = iconv_close(iconvDesc); https://man7.org/linux/man-pages/man3/iconv_close.3.html...

  • Posted a comment on discussion Help getting started on GnuCOBOL

    I've already read Ahmed Maher' proposal! Is fascinating! Nevertheless, LIBICU is... complex! It's... big! Too much... complex! I have "nothing" against it! But... ...GnuCOBOL have... also... "simple" alternatives to... LIBICU One of them is... "libiconv"... ...the most basic and... simple I have already... found! And works! (even in Windows) Fascinating! Note: Windows does not need this! :-) :-)

  • Posted a comment on discussion Help getting started on GnuCOBOL

    Are there reasons not to use it? Why? I can do it in Windows easily with UTF-8, UTF-16, UTF-32, etc. even with PIC X (with math and a good guess) PIC N is not, even... mandatory! Using a Database without multibyte is like using «something» with «nothing» What can we do? Better, yet... ...what should we do? Just saying (asking?) MM

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    «What would people think if GnuCOBOL supported DISPLAY group-data UPON PRINTING ??» There are other things which takes... precedence! Just saying! :-) On Fri, Jan 5, 2024 at 9:57 PM Brian Tiffin btiffin@users.sourceforge.net wrote: What would people think if GnuCOBOL supported DISPLAY group-data UPON PRINTING ?? PRINTING chosen as it's already a compiler word. Could be DISPLAY some-data UPON DISPLAY, or DISPLAY info UPON SCREEN. The "device" would trigger code just before a normal DISPLAY. The goal...

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    Use libiconv... for example! It's great! :-) On Fri, Jan 5, 2024 at 11:23 PM Brian Tiffin btiffin@users.sourceforge.net wrote: I guess it'd be better to prepare for unicode, and maybe have rules about code-points being the "byte". Iff aomething like this seems reasonable. One of my old development builds has DISPLAY stuff UPON CONSOLE with unprintables converted to dots before display, and it's super handy. Easy-ish to support UTF-8. Simple to support our NATIONAL, two bytes per character (umm, I...

  • Posted a comment on discussion GnuCOBOL on GnuCOBOL

    « I guess it'd be better to prepare for unicode...» Better late than... never! Cheers! :-) On Fri, Jan 5, 2024 at 11:23 PM Brian Tiffin btiffin@users.sourceforge.net wrote: I guess it'd be better to prepare for unicode, and maybe have rules about code-points being the "byte". Iff aomething like this seems reasonable. One of my old development builds has DISPLAY stuff UPON CONSOLE with unprintables converted to dots before display, and it's super handy. Easy-ish to support UTF-8. Simple to support...

  • Posted a comment on discussion Help getting started on GnuCOBOL

    You'll have to be more specific :-) I'm very outdated right now. When did those CALLs were first introduced ? I mean, version major+minor+patch. To which compiler should I refer to ? Arnold's ? MM On Wed, Jun 10, 2020 at 8:45 AM Simon Sobisch sf-mensch@users.sourceforge.net wrote: @matosma https://sourceforge.net/u/matosma/ It's been a while, but can you provide the code for CBL_GC_SCR_DUMP and CBL_GC_SCR_RESTORE in C? Text User Interface: how save and restore a screen https://sourceforge.net/p/open-cobol/discussion/help/thread/4a975c9b/?limit=50#32dd/5a31/df1c/3ca4/b9a9/505b...

  • Modified a comment on discussion The Lounge on GnuCOBOL

    Full Interview: Edward Snowden On Trump, Privacy, And Threats To Democracy | The 11th Hour | MSNBC Sep 17, 2019 https://www.youtube.com/watch?v=e9yK1QndJSM Edward Snowden (Wikipedia) https://en.wikipedia.org/wiki/Edward_Snowden And, to add up to the story... (outstanding) https://www.youtube.com/watch?v=efs3QRr8LWw MM PS: This will take some time, so, feel free to take a break and go to the bathroom, anytime!

View All

Personal Data

Username:
matosma
Joined:
2015-10-14 21:15:31
Location:
Portugal / WET
Gender:
Male

Projects

  • No projects to display.

Personal Tools