XFNLNET_CLASS_ENCODING
Character set used to encode/decode data
The XFNLNET_CLASS_ENCODING setting specifies the default character set used to encode and decode characters when sending data from .NET to Synergy. It can be set for all classes or a single class.
Value
Any of the encodings in the “List of encodings” table in the Microsoft documentation.
Discussion
By default, xfNetLink .NET uses the ISO-8859-1 character set to encode/decode characters when sending data from .NET to Synergy. This works fine for most use cases, but ISO-8859-1 does not define characters for values in the range 128–159. If you need characters in this range, such as the Euro symbol (€) at 128, you can change the encoding used by xfNetLink .NET to Windows-1252.
For additional information on ISO-8859-1 and Windows-1252, see https://www.w3schools.com/charsets/ref_html_8859.asp.
CLASS in the environment variable name can be either DEFAULT (which means the setting applies to all classes) or the name of a specific class in your assembly (which means it applies only to that class).
This environment variable can be used with any xfNetLink .NET application. If an application configuration file exists for a .NET Framework application, the value set in the config file will override the corresponding environment variable.
Setting location
The environment where the client program runs.
Used by
xfNetLink .NET
Examples
In this example, all classes will use the Windows-1252 encoding so that they have access to the Euro symbol.
set XFNLNET_DEFAULT_ENCODING = Windows-1252