dotConnect for PostgreSQL Documentation
Charset Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : Charset Property

Gets or sets charset that will be used on the client side.

Syntax

Visual Basic (Declaration) 
Public Property Charset As String
C# 
public string Charset {get; set;}

Property Value

String that represents charset supported by PostgreSQL server.

Remarks

By default, charset is equal to PostgreSQL server encoding run-time parameter. You can set this property to convert string data returned by the server to the specified charset used by your application. For example, if your database encoding is KOI8 but your application uses WIN1251 charset you can set this property to WIN to convert KOI8 strings to WIN1251. You also can use Unicode property to transfer all data in the UTF8 charset, but it may significant reduce network traffic and thus decrease application performance.

Requirements

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also