Webové stránky používají cookies. Pokud budete nadále využívat naše služby, předpokládáme, že souhlasíte s jejich používáním. Více informací
Webové stránky používají cookies. Pokud budete nadále využívat naše služby, předpokládáme, že souhlasíte s jejich používáním. Více informací
DSN=MyPG;UID=postgres;PWD=secret The PostgreSQL Unicode ODBC driver isn’t glamorous—it’s a bridge. But picking the wrong side of the ANSI/Unicode divide will quietly corrupt your data, one accented character at a time.
| Driver Name | Character Handling | Typical Use Case | |-------------|--------------------|--------------------| | PostgreSQL ANSI | Uses system ANSI code page (e.g., Windows-1252) | Legacy apps from the 90s / VB6 | | PostgreSQL Unicode | Uses UTF-16 (Windows) / UTF-8 (Linux) | | postgresql unicode odbc driver
But there’s a quiet fork in the road: . Unless you have a concrete reason not to,
Unless you have a concrete reason not to, install and use PostgreSQL Unicode . Your future self, debugging a weird é turning into é , will thank you. Have you run into an ODBC character set nightmare? Share your war story below. Share your war story below
If you’ve ever seen scrambled text ( ???? ), error #01000 , or mysterious data truncation when connecting from a Windows app to PostgreSQL, chances are you picked the wrong driver. Let’s talk about why should be your default choice. 1. What is the "Unicode" driver, exactly? The PostgreSQL ODBC driver ( psqlODBC ) ships in two flavors:
Musíte vybrat variantu.