Top
Symfoware Server V12.0.0 Application Development Guide
FUJITSU Software

4.2.3 Message Language and Character Set Settings

This section explains the language settings for the application runtime environment and the character set settings for the application.

Character set settings are not required when using .NET Data Provider.

Language settings

You must match the language settings for the application runtime environment with the message locale settings of the database server.

Set language using the "System.Globalization.CultureInfo.CreateSpecificCulture" method.

Example

Code example for changing the locale in a C# application

System.Threading.Thread.CurrentThread.CurrentUICulture = 
	System.Globalization.CultureInfo.CreateSpecificCulture("en");

Character set

.NET Framework treats character data as Unicode internally. When EUC code or Shift-JIS is input or output using a .NET Framework application, the character data is converted to Unicode. For this reason, it is not necessary to specify the character set when creating .NET applications.