Nantes Université

Skip to content
Extraits de code Groupes Projets
  1. août 16, 2021
  2. août 11, 2021
    • qykth-git's avatar
      Revert from multi-byte I/O to UTF-8 I/O (#61) · 55890379
      qykth-git a rédigé
      Multi-byte I/O dose too match for text input in some locale.
      
      For example, "," in numbers treat as decimal separator, not word separator.
      This makes "1,234" as "1234", not "1" and "234".
      
      Use "C.UTF-8" to avoid this problem.
    • qykth-git's avatar
      UTF- 8/ANSI input support for Unix (#60) · 4c9d411a
      qykth-git a rédigé
      * Use UTF-8 for multi-byte character I/O everywhare
      
      This fix is required for "libstdc++".
      Without this fix, "libstdc++" only works for 7bit ASCII.
      
      It fixes https://github.com/microsoft/pict/issues/24 .
      
      * Use current locale instead of fixed UTF-8 locale
      
      It is good for non-UTF-8 (ANSI/OEM) encoding input.
      Use environment variable "LANG" or "LC_CTYPE" to change input encoding.
      
      (example)
      $ LC_CTYPE="C.UTF-8" pict utf8-input.txt
      
      * Add document for non-ASCII (UTF-8/ANSI) input encoding
  3. nov. 27, 2017
  4. nov. 26, 2017
  5. jan. 19, 2016
  6. nov. 19, 2015
    • Ori Peleg's avatar
      const-related compilation fixes · 0b444dc8
      Ori Peleg a rédigé
      Several classes and functions were not const-correct. Did the minimal changes
      to fix compilation, although there are other const fixes that can be done.
      0b444dc8
    • Ori Peleg's avatar
      misc clang++ compilation fixes · 41dd3e03
      Ori Peleg a rédigé
      - replaced for_each with range-based for loop
      - added missing std:: scope
      - for-loop temp now declared outside the loop to be in scope
      - removed casts in calls to trim()
      41dd3e03
  7. oct. 16, 2015
Chargement en cours