UHC as a server encoding?
UHC as a server encoding?
От:
Chuck McDevitt <cmcdevitt@greenplum.com>
Дата:
Why are certain character encodings not legal for the server_encoding? For example, we allow EUC_KR, but disallow UHC, which is a superset of EUC_KR. What are the rules for what is or is not allowed as server_encoding? Is it having a conversion to MIC that is the issue? Why is that important for server encodings?
Re: UHC as a server encoding?
От:
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Дата:
Chuck McDevitt wrote: > Why are certain character encodings not legal for the server_encoding? > > For example, we allow EUC_KR, but disallow UHC, which is a superset of EUC_KR. > > What are the rules for what is or is not allowed as server_encoding? A server-encoding must have the property that all but the first byte of a multi-byte character have the high bit set. IOW, by looking at an arbitrary byte in a string, you must be able to tell if it's part of a multi-byte character or an independent single byte character. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com