1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@ASCII vs. @UNICODE

Discussion in 'Support' started by Charles Dye, May 14, 2014.

  1. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,287
    Likes Received:
    39
    What's the difference between %@ASCII[] and %@UNICODE[] ? Under what circumstances would these two functions return different values for the same input string?
     
  2. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    I think Charles is right, @alias has been enhanced to be an alias for @unicode. When I used @ascii and @unicode to report the character entered as alt-200, the lower left corner of double lines ╚, both reported 9562. Other few values I tried likewise.
     
  3. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,287
    Likes Received:
    39
    I'm just curious.... Why do we have two functions to do the same thing? Were they different in the past?
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    They were different in the past, but their differences became irrelevant when 4NT / TCC became Unicode-only.
     
  5. Steve Fabian

    Joined:
    May 20, 2008
    Messages:
    3,523
    Likes Received:
    4
    Code and operation OK. Might comment in HELP. But I hope you mean by "Unicode-only" that internally that's how TCC operates, but UnicodeOutput=No remains a viable directive.
     
  6. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,287
    Likes Received:
    39
    Aha. Thanks.
     

Share This Page