Class LiteralTextTests
Settings.ConvertCharacterStringLiterals is required, if the format string does not come from code but from a file (e.g. a resource): While in case of code all character literals are converted to Unicode by the compiler, SmartFormat can do the conversion in case of strings coming from a file.
Namespace: UnityEngine.Localization.SmartFormat.Tests.Core
Syntax
public class LiteralTextTests
Methods
AllSupportedCharacterLiteralsAsUnicode()
Declaration
public void AllSupportedCharacterLiteralsAsUnicode()
ConvertCharacterLiteralsToUnicodeWithListFormatter()
Declaration
public void ConvertCharacterLiteralsToUnicodeWithListFormatter()
FormatCharacterLiteralsAsString()
Declaration
public void FormatCharacterLiteralsAsString()
IllegalEscapeSequenceThrowsException()
Declaration
public void IllegalEscapeSequenceThrowsException()