Browse Source

* Print '?' for Unicode characters in the ANSI export. We'll decide later

whether we want plain ASCII, UTF-8, or CP437.
tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
43e1514520
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cucul/export.c

+ 1
- 1
cucul/export.c View File

@@ -222,7 +222,7 @@ static void export_ansi(cucul_canvas_t *cv, cucul_buffer_t *ex)
fg - 8, bg - 8, fg - 8, bg - 8);
}

*cur++ = ch & 0x7f;
*cur++ = (ch >= 0x20 && ch < 0x7f) ? ch : '?';

prevfg = fg;
prevbg = bg;


Loading…
Cancel
Save