Skip to content

Commit c42ade8

Browse files
authored
Merge pull request #1 from Athenr/Difference-between-C#-string-and-Godot-String-UTF-encoding
Update c_sharp_differences.rst with C# string and Godot String UTF encoding
2 parents de6a37a + 9d0fcf1 commit c42ade8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorials/scripting/c_sharp/c_sharp_differences.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ Use ``System.String`` (``string``). Most of Godot's String methods have an
381381
equivalent in ``System.String`` or are provided by the ``StringExtensions``
382382
class as extension methods.
383383

384+
Note that C# strings uses UTF-16 encoding, while Godot Strings uses UTF-32 encoding.
385+
384386
Example:
385387

386388
.. code-block:: csharp

0 commit comments

Comments
 (0)