2013/7/10 Sven Van Caekenberghe <[email protected]>:
>> So...where should I do the conversion? At Glorp level or at database driver 
>> level?

> And IMHO at the lowest possible level. If you have an SQL VARCHAR column, the 
> driver should convert bytes to a normal Smalltalk String. An OR mapper is a 
> client of the driver, right ?

+1

Encoding should be a parameter of the Connection/Login details. And
ORM should deal only with strings in whatever encoding Pharo uses for
its strings, ignoring (as much as possible) what happens beneath.

Regards,

Reply via email to