Right, I have finally undone the issue #18 change. It was a nice idea,
but I have not made it work.
This commit is contained in:
parent
c29a95b00d
commit
271b7da46a
10 changed files with 36 additions and 28 deletions
|
|
@ -58,7 +58,7 @@ struct pso_pointer in_write( struct pso_pointer p, URL_FILE * output,
|
|||
* TODO: this does not yet even nearly cope with all the possible special
|
||||
* cases.
|
||||
*/
|
||||
void write_char( char32_t wc, URL_FILE *output, bool escape ) {
|
||||
void write_char( wchar_t wc, URL_FILE *output, bool escape ) {
|
||||
if ( escape && !iswprint( wc ) ) {
|
||||
url_fwprintf( output, L"\\%04x", wc );
|
||||
// url_fputwc(L'\\', output);
|
||||
|
|
@ -83,7 +83,7 @@ struct pso_pointer print_string_like_thing( struct pso_pointer p,
|
|||
if ( keywordp( p ) || stringp( p ) || symbolp( p ) ) {
|
||||
for ( struct pso_pointer cursor = p; !c_nilp( cursor );
|
||||
cursor = pointer_to_object( cursor )->payload.string.cdr ) {
|
||||
char32_t wc =
|
||||
wchar_t wc =
|
||||
pointer_to_object( cursor )->payload.string.character;
|
||||
|
||||
write_char( wc, output, escape );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue