Hello, "Michael Gran" <spk...@yahoo.com> writes:
> add tests for encoding/decoding wide strings Nice! Just a bit of cosmetic nitpicking: > * test-suite/tests/encoding_utf8.test: new Please use hyphens instead of underscores in file names, for consistency. > +(setlocale LC_ALL "en_US.utf8") [...] > +(setencoding "ASCII") [...] > +(setencoding "ISO-8859-7") Do these modify the encoding used by the underlying port? If so, I'd rather explicitly use a fluid, as is done for `current-reader'. However, this relies on eval-after-read semantics. That is, if the whole file is read at once, *then* evaluated, that won't work, right? > +(setlocale LC_ALL "es_MX.ISO-8859-1") Not everyone has this locale. ;-) > +(with-test-prefix > + "internal encoding" > + > + (pass-if "ultima" > + (string=? s1 (string-ints #xfa #x6c #x74 #x69 #x6d #x61))) Please indent as is done in other files. Thanks! Ludo'.