V4RB next beta. Anybody want it right now ?
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Oct 4 09:12:24 CDT 2004
On 10/4/04 2:11 AM, "jda" <jda at his.com> wrote:
Hi Jon,
Few points
1) in 2.0 we must use not English, but "en_US" or e.g. "en_GB"
2) parameter language in constructors it seems is ignored yet in V4RB
3) remember that we have now 3 new parameters LocaleName, ... ?
So IF your db have the same Locale settings for all tables and fields,
Then I recommend to use simply one line
db.LocaleName = "en_US"
4) you say that you have UTF8 vtext, field.
Jon, where you see that you have specify UTF8 ?
I see that you specify it to be single byte English.
if you want UTf8 then do
db.LocaleName = "UTF8"
> A bug to report:
>
> I have a UTF-8 VText field defined as:
>
> textField = CreateTextField("textField", 128, "English")
> textField.compressed = true
>
> I use it in my preferences database, and in one case set it as follows:
>
> myCursor.setBlank
> s = "a" + chr(13)
> s = s + "an" + chr(13)
> s = s + "and" + chr(13)
> s = s + "as" + chr(13)
> s = s + "be" + chr(13)
> s = s + "DNA" + chr(13)
> s = s + "for" + chr(13)
> s = s + "I" + chr(13)
> s = s + "if" + chr(13)
> s = s + "in" + chr(13)
> s = s + "is" + chr(13)
> s = s + "it" + chr(13)
> s = s + "of" + chr(13)
> s = s + "on" + chr(13)
> s = s + "the" + chr(13)
> s = s + "RNA" + chr(13)
> s = s + "to" + chr(13)
> s = s + "USA" + chr(13)
> myCursor.Field("propertyName").setString("titleCaseList")
> myCursor.Field("textField").SetString(s)
> call myCursor.addRecord
>
> If I check myCursor *before* .addRecord, it holds the correct characters.
>
> When do the .addRecord and then retrieve the record, it contains
> garbage characters (maybe raw compressed bytes? I don't know).
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina-beta
mailing list