When you run this script, you’ll see output similar to this:
Note that AngelScript handles Unicode strings differently from Go. In AngelScript, the length() method returns the number of characters, not bytes. Also, indexing into a string gives you characters, not bytes.
AngelScript doesn’t have a built-in way to get the Unicode code point of a character. If you need this functionality, you would typically need to implement it yourself or use a third-party library.
The examineChar function demonstrates how to compare characters. In AngelScript, characters are represented as uint8, which can hold values from 0 to 255. This means it can directly represent ASCII characters, but for Unicode characters beyond this range, you might need to use string comparison instead.
Remember that the exact behavior with Unicode strings can depend on how AngelScript is implemented in your specific environment. Some implementations might provide additional Unicode support.