Write Unicode char

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/12/2002 at 05:27, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:    Mac  ;  
Language(s) :   C.O.F.F.E.E  ;

---------
I need some help with the WriteString function.
I want to write out a file that contains several rows of float or integer numbers that are separated by a horizontal tabulation.
How can I add those unicode characters (0009 for tabulation, 000D for Carriage return) with the string that contains the numbers?
Using a variable with a unicode char doesn't seem to work (e.g. var char_tab=0x0009).

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/12/2002 at 05:41, xxxxxxxx wrote:

I believe one way to get arbitrary characters is to create a one-character string and set the value:

    
    
    var s = "*";  
    s[0] = 0x09;

Did that work?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 15/12/2002 at 05:57, xxxxxxxx wrote:

You saved my day, Mikael 😉
It works!

1000 Thanks.
Arndt