فهرست منبع

Merge pull request #10920 from Athenr/master

Clarify UTF encoding between C# strings and Godot Strings
Matthew 1 هفته پیش
والد
کامیت
768aa536ca
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      tutorials/scripting/c_sharp/c_sharp_differences.rst

+ 2 - 0
tutorials/scripting/c_sharp/c_sharp_differences.rst

@@ -381,6 +381,8 @@ Use ``System.String`` (``string``). Most of Godot's String methods have an
 equivalent in ``System.String`` or are provided by the ``StringExtensions``
 equivalent in ``System.String`` or are provided by the ``StringExtensions``
 class as extension methods.
 class as extension methods.
 
 
+Note that C# strings use UTF-16 encoding, while Godot Strings use UTF-32 encoding.
+
 Example:
 Example:
 
 
 .. code-block:: csharp
 .. code-block:: csharp