Hey folks, I've been banging my head over this for the past few hours and
have come up with not much. I'm getting this error:

PGError: ERROR:  invalid byte sequence for encoding "UTF8": 0xf6726465
HINT:  This error can also happen if the byte sequence does not match the
encoding expected by the server, which is controlled by "client_encoding".
: INSERT INTO "versions" ("rubyforge_project", "updated_at", "platform",
"number", "description", "summary", "indexed", "authors", "rubygem_id",
"built_at", "created_at") VALUES(NULL, '2009-09-08 22:37:10.573001',
E'mswin32', E'0.1.0', NULL, E'GUI for ''net send''', 't', E'Sascha
D�rdelmann', 20501, '2005-01-11 08:00:00.000000', '2009-09-08
22:37:10.573001') RETURNING "id"

Now, it seems like it's trying to insert an author name with an umlaut in
it, which seems like a valid character to me. This is coming from a RubyGem
spec, so it looks like this in the YAML version:

authors:
- "Sascha D\xF6rdelmann"

and like so as Ruby:

  s.authors = ["Sascha D\366rdelmann"]

The latter is what I'm seeing when loading it manually via script/console.
Is there some postgres setting I'm missing here, or am I just doing it
wrong? Thanks!

-Nick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to