Jump to content
FHannes

String vs AnsiString

Recommended Posts

SCAR Divi allows you to use the string and AnsiString types to represent strings. The difference is that string supports unicode and AnsiString does not. Due to backwards compatibility concerns, SCAR does however not support unicode, and all functions in SCAR use AndiString because of this. Therefore it's suggested that scripters use AnsiString rather than string in scripts as well as using string might cause unwanted issues. Support for unicode may be added to Divi in the future, but for now it will not be as it would break backwards compatibility, this would only be done in a single release to avoid spreading out large breaking changes over multiple releases.

Edited by Freddy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...