Dear Glorp experts, I'll try o make a long story short:I am chewing on this crazy idea to switch from one database (db2) to another one (postgresql), going from VA Smalltalk 32 bits to 64. Let's say this is more a business decision than a technical one. Once I do the switch, I might as well go and transform all my Strings in the database from ISO-8859-1(5) to UTF-8. The complicated thing here is that, in its current version, VA Smalltalk is not (yet) using utf-8 internally. So what would be needed (at least temoorarily until VAST supports UTF-8 natively) is some form of encoding/decoding whenever data travels between the databse and Glorp, resp, the image. My naive idea here would be that whenever we send out an SQL statement to the DB and whenever something comes back from the DB, we just convert the Strings from/to utf-8. I wonder about a few things here:
So if any of you happen to have ideas on one or more of these topics and has a few ideas, caveats, heads up to share, I'd be grateful. And I am sure there are more people on this planet who'd like to learn about them... Joachim You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
Hi Joachim, I don't know what's the situation in VW, but when we did the port to Pharo long ago I think we added support for #encodingStrategy: into the Login class. You may want to look into Pharo mailing list for the string "encodingStrategy:". Then, you could load Glorp on Pharo and see where it is used. That might give you a sense of the involved parts... Best, On Fri, Nov 23, 2018 at 5:00 AM jtuchel <[hidden email]> wrote:
-- You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
Hi Mariano,
hmmm. There is
DatabasePlatform>>#characterEncoding: but that seems not to
be exactly what I'd want to use... Not sure what exactly it does
;-)
Thanks for your suggestion on looking
into Pharo. Will do as soon as I find the time...
Joachim
Am 23.11.18 um 16:10 schrieb Mariano
Martinez Peck:
You received this message because you are subscribed to the Google Groups "glorp-group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. Visit this group at https://groups.google.com/group/glorp-group. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |