File: encoding-ascii.html

package info (click to toggle)
pgadmin3 1.4.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,796 kB
  • ctags: 10,758
  • sloc: cpp: 55,356; sh: 6,164; ansic: 1,520; makefile: 576; sql: 482; xml: 100; perl: 18
file content (29 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="STYLESHEET" type="text/css" href="../pgadmin3.css">
<title>Guru Hints</title>
</head>

<body>

<h3>Database encoding</h3>
<p>
The database <INFO> is created to store data using the SQL_ASCII encoding. This encoding is defined 
for 7 bit characters only; the meaning of characters with the 8th bit set (non-ASCII characters 127-255) is not defined.
Consequently, it is not possible for the server to convert the data to other encodings.
</p>
<p>
If you're storing non-ASCII data in the database, you're strongly encouraged to use a proper 
database encoding representing your locale character set to take benefit from the automatic conversion to different client encodings
when needed. If you store non-ASCII data in an SQL_ASCII database, you may encounter
weird characters written to or read from the database, caused by code conversion problems.
This may cause you a lot of headache when accessing the database using different 
client programs and drivers.
</p>
<p>
For most installations, Unicode (UTF8) encoding will provide the most flexible capabilities. 
</p>
</body>
</html>