Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • Raymond Toy's avatar
    a8c27cfa
    Fix #25: Handle unicode strings more consistently. · a8c27cfa
    Raymond Toy authored
    When writing a string to the program too few octets were written
    because strings are now 16-bits wide.  To fix this, only write the low
    8-bits of each character.  This matches what reading does.
    
    This pretty much implies that the caller should use
    STREAM:STRING-ENCODE and STREAM::STRING-DECODE on the strings.
    
    Add several tests to verify the expected results.
    a8c27cfa
    History
    Fix #25: Handle unicode strings more consistently.
    Raymond Toy authored
    When writing a string to the program too few octets were written
    because strings are now 16-bits wide.  To fix this, only write the low
    8-bits of each character.  This matches what reading does.
    
    This pretty much implies that the caller should use
    STREAM:STRING-ENCODE and STREAM::STRING-DECODE on the strings.
    
    Add several tests to verify the expected results.