Just to add:

    say 'über'
    über
      ..................................... /usr/bin/rexxtry.rex on MACOSX
    say 'über'~length
    5
      ..................................... /usr/bin/rexxtry.rex on MACOSX
    say 'ß'~length
    2
      ..................................... /usr/bin/rexxtry.rex on MACOSX
      

So it seems that the single characters are processed as Unicode (?) chars.

---rony


On 12.02.2011 21:38, Rony G. Flatscher wrote:
> On MacOSX running rexxtry like:
>
>     abt-wi-031:opt rony$ rexx rexxtry.rex
>     REXX-ooRexx_4.1.0(MT) 6.03 11 Feb 2011
>       /usr/bin/rexxtry.rex lets you interactively try REXX statements.
>         Each string is executed when you hit Enter.
>         Enter 'call tell' for a description of the features.
>       Go on - try a few...            Enter 'exit' to end.
>     say '&'~c2x 'ß'~c2x
>     26 C39F
>       ..................................... /usr/bin/rexxtry.rex on MACOSX
>       
>
> In the above say-clause the German sharp s (ß) is used as the target
> of the "c2" message. The resulting hex-string indicates that two bytes
> are processed, although a single character is given.
>
> Question: is this an error or not?
>
> ---rony

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to