1

How, in Ada, do I decode a string coming from the MS Windows terminal, then encode it in UTF-8?

Ondrej Tucny
  • 27,626
  • 6
  • 70
  • 90
Ana C.
  • 13
  • 4

1 Answers1

1

Try looking in package Ada.Strings.UTF_Encoding.Conversions for UTF-handling.
As for retrieving text from the command-line you can use Ada.Command_Line, though there are also files/streams that you can use to get the standard input.

Shark8
  • 4,095
  • 1
  • 17
  • 31