Thanks Panu. I am looking at the code right now. I will give you my feedback. Thanks a lot :)<br><br>Two little questions...<br><br>1) If I DON&#39;T want encoding, it says I don&#39;t need to do anything. It just doesn&#39;t encode because of the <br>
<br><br>    ^ encoder isNil ifTrue:[aString] ifFalse:[ encoder convertToSystemString: aString].<br><br>or the<br><br><br>    ^ encoder isNil ifTrue:[aByteArray ] ifFalse: [encoder convertFromSystemString: aByteArray].<br>
<br>I am right ?   then....if we do that check with the nil...I don&#39;t need to set the Null encoder, isn&#39;t it ?<br><br>2)  To set a particular encoding for SqueakDBX the way to do this is something like this:<br><br>
    connectionSettings := DBXConnectionSettings<br>            host: &#39;127.0.0.1&#39;<br>            port: &#39;5432&#39;<br>            database: &#39;sodbxtest&#39;<br>            userName: &#39;sodbxtest&#39;<br>            userPassword: &#39;sodbxtest&#39;<br>
            encodingStrategy: PSAutomaticEncoding new.  &quot;or any other encoder&quot;<br><br>    conn := DBXConnection platform: DBXPostgresPlatform new settings: connectionSettings.<br> ......<br><br>is this correct?<br>
<br>And for Glorp it is something like:<br><br>    login := Login new<br>        database: PostgreSQLPlatform new;<br>        username: &#39;sodbxtest&#39;;<br>        password: &#39;sodbxtest&#39;;<br>        connectString: &#39;127.0.0.1_sodbxtest&#39;;<br>
        encodingStrategy: PSAutomaticEncoding new.<br><br>is this correct ?<br><br><br>3) How did you run both, SqueakDBX and GlorpDBX tests?<br><br>To squeakDBX did you modify DBXPostgreFacility &gt;&gt; createConnection    and set there the encoder?<br>
<br>And for Glorp you changed DBXGlorpMainBackendTestPostgresql &gt;&gt; glorpBackendFacility   ?<br><br>BTW....I will be en ESUG next week....will you be there?<br><br>Thanks!<br><br>mariano<br><br><br><div class="gmail_quote">
On Fri, Sep 10, 2010 at 11:17 AM, Panu Suominen <span dir="ltr">&lt;<a href="mailto:panu.j.m.suominen@gmail.com">panu.j.m.suominen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2010/9/7 Panu Suominen &lt;<a href="mailto:panu.j.m.suominen@gmail.com">panu.j.m.suominen@gmail.com</a>&gt;:<br>
<div class="im">&gt; 2010/9/6 Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;:<br>
&gt;&gt; Hi Panu. This is really cool. I have did a quick view and seems pretty good.<br>
&gt;&gt; I couldn&#39;t test it yet but I will do it and let you know. If everything is<br>
&gt;&gt; fine, I will commit it.<br>
&gt;<br>
&gt; The package naming is not very good. And at least psencoding package<br>
&gt; does not depend on the packages it should.<br>
<br>
</div>Ok. I think I got it right this time. encoding-changes.1.cs contains<br>
changes that were required to Glorp, SqueakDBX and such. They are done<br>
on the version 1.2 of GlorpDBX.<br>
<br>
EncodingStrategy change set contains couple of classes that can be<br>
used to set how encoding should be determined. This change set is not<br>
required to make the<br>
GlorpDBX and friend work. It is only needed if one wants to control<br>
what encoding should be used.<br>
<br>
--<br>
<font color="#888888">Panu<br>
</font></blockquote></div><br>