[M3devel] Widechars

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Wed Jan 7 16:33:56 CET 2009


On Tue, Jan 06, 2009 at 10:31:28PM +0100, Roland Illig wrote:
> Martin Bishop schrieb:
> > I'm playing around with WIDECHARS, and having some trouble.
> > 
> > VAR wide := ARRAY OF WIDECHAR {'\x304A', '\x306F', '\x3088', '\x3046'};
> >     s := Text.FromWideChars(wide);
> 
> >From what I just read in the CM3 compiler's source code, it only
> understands simple octal character escape sequences, and even those
> return a CHAR, not a WIDECHAR.
> 
> So the question that remains is: What is the most readable, shortest
> form of encoding a WIDECHAR literal, or a WIDETEXT?

Most readable, probably UTF-8.

> 
> Roland



More information about the M3devel mailing list