Re: yum update now gives me UNICODE errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary Stainburn <gary.stainburn@xxxxxxxxxxxxxx> writes:
> ERROR:  invalid byte sequence for encoding "UNICODE": 0xa3

> The problem is the £ (pound sterling) sign, but I never had any problems prior 
> to the update.

Postgres didn't use to be quite as picky about the encoding as it is
now.  What you are sending it is not UTF-8, and you can no longer
get away with pretending that it is.  It looks like you're probably
using Latin1 (ISO 8859-1) or something related.  Assuming that that's
what's really in your database, what I'd do is
	- dump the database
	- edit the SET client_encoding command at the head of the dump
	  file to say the correct encoding
	- initdb in the correct locale (one using your encoding,
	  not utf8)
	- reload data

			regards, tom lane


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux