> > It would be nicer if string ports were actually bytevector ports, and that > > they were locale-independent? Or that scm_get_output_bytevector returned a > > locale-independent (ergo 8-bit or 32-bit) vector? > > The latter.
The test suite requires an API for testing the correctness of the encoding when writing or displaying a string in a given locale. It also needs an API for checking that a locale-encoded byte-array can be correctly converted to a string. What would you suggest? Thanks, Mike