================
@@ -169,6 +169,18 @@ class TerminalState {
   lldb::pid_t m_process_group = -1;       ///< Cached process group 
information.
 };
 
+/// Returns whether or not the current terminal supports Unicode rendering.
+///
+/// The value is cached after the first computation.
+///
+/// On POSIX systems, we check if the LANG environment variable contains the
+/// substring "UTF-8", case insensitive.
+///
+/// On Windows, we always return true since we use the `WriteConsoleW` API
+/// internally. Note that the default Windows codepage (437) does not support
+/// all Unicode characters. This function does not check the codepage.
+bool TerminalSupportsUnicode();
----------------
charles-zablit wrote:

Fixed, thanks!

https://github.com/llvm/llvm-project/pull/168603
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to