Vadim Nasardinov <vadimn@redhat.com> writes:
> On Tuesday 04 October 2005 16:16, Jeremy LaCivita wrote:
>> Correct me if i'm wrong, but that says to me that the Strings were
>> in UTF-8 already, but Java didn't know it, so it couldn't send them
>> to postgres properly.
>
> It's meaningless to ask what encoding a String has. String are
> sequence of chars -- they don't have an encoding.
Actually they are encoded using UTF-16
<http://java.sun.com/developer/technicalArticles/Intl/Supplementary/>
Granted, this is the no-brainer "same value" encoding... as long as
codepoint < U+FFFF