REBOL 3.0

Decided - Unicode Console

Carl Sassenrath, CTO
REBOL Technologies
14-Feb-2008 19:20 GMT

Article #0009
Main page || Index || Prior Article [0008] || Next Article [0010] || 3 Comments || Send feedback

On Windows, R3 currently uses the default console for text I/O. Eventually, we will add our own console, such as in R2. However, for now, we do not want to spend time on that, but on core functions.

The issue is: what mode do we want to use for the console and how is it best initialized.

IMO, there are two choices:

  1. Set it up for UTF-8 input/output. That is, keyboard input is sent to the R3 console device as bytes in UTF-8 encoded format.
  2. If that is not supported by MS, then UTF-16.
  3. If that is not supported by MS, then raw Unicode codepoints as wide chars is ok.
Decision

We will use the wide-char console mode. This will make the console work properly for Unicode, but will require that we make special changes to support stdio redirection.

3 Comments

REBOL 3.0
Updated 15-Jul-2013 - Edit - Copyright REBOL Technologies - REBOL.net