The Ada Util library does not work well when compiled with -gnatW8:
some test files are using UTF-8 characters in String which is forbidden because outside of Latin-1 charset,
the Ada.Text_IO assumes strings a Latin-1 but sometimes a String could contain UTF-8 byte sequence,
the Util.Log package write the log messages by using Ada.Text_IO but for some applications the message contains an UTF-8 sequence. This default must remain but must be configurable to choose a direct write on the console (or file).
The Ada Util library does not work well when compiled with
-gnatW8
:String
which is forbidden because outside of Latin-1 charset,Ada.Text_IO
assumes strings a Latin-1 but sometimes a String could contain UTF-8 byte sequence,Util.Log
package write the log messages by usingAda.Text_IO
but for some applications the message contains an UTF-8 sequence. This default must remain but must be configurable to choose a direct write on the console (or file).See discussion on https://github.com/alire-project/alire/discussions/1334