LibreCat / Catmandu-DBI

A Catmandu::Store plugin for DBI based interfaces
Other
0 stars 1 forks source link

custom mapped text fields do not support utf-8 #26

Closed nicolasfranck closed 5 years ago

nicolasfranck commented 6 years ago

The reason for this is that the database encoding is set to sql_ascii by default. Insertion fails with "wide character ..".

This does not happen for the field "data" where the type is "bytea", and the data is accepted as-is.

nics commented 5 years ago

utf-8 columns are assumed, the pod now describes the limitations (58ef8b1444a6fcc936615f3515c7d7f47d95527a)