Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63626

unicode troubles and postgres

Date 2014-01-09 10:49 -0800
From Ethan Furman <ethan@stoneleaf.us>
Subject unicode troubles and postgres
Newsgroups comp.lang.python
Message-ID <mailman.5279.1389296211.18130.python-list@python.org> (permalink)

Show all headers | View raw


So I'm working with postgres, and I get a datadump which I try to restore to my test system, and I get this:

ERROR:  value too long for type character varying(4)
CONTEXT:  COPY res_currency, line 32, column symbol: "руб"

"py6" sure looks like it should fit, but it don't.  Further investigation revealed that "py6" is made up of the bytes d1 
80 d1 83 d0 b1.

Any ideas on what that means, exactly?

--
~Ethan~

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

unicode troubles and postgres Ethan Furman <ethan@stoneleaf.us> - 2014-01-09 10:49 -0800
  Re: unicode troubles and postgres wxjmfauth@gmail.com - 2014-01-10 02:44 -0800

csiph-web