[V4RB] Creating a database with unicode name
Stan Busk
maxprog at mac.com
Fri Dec 5 09:25:53 CST 2003
Hi,
But how do you convert FolderItem.name? I have tried to convert it but
it doesn't fix the problem. If for example you write FolderItem.name =
convertEnconding(Encodings.UTF8, Encodings.SystemDefault), result is
still UTF8 as it seems as soon as you assign a string to
FolderItem.name it is converted back to UTF8. Seems to be the same with
FolderItem.AbsolutePath so if you have code that fixes this problem I
have no problem checking it in my code but I bet you will *NOT*
succeed.
Stan
> on 12/5/03 1:33 AM, Stan Busk at maxprog at mac.com wrote:
>
> Hi Stan,
>
> This is the same info as before.
>
> But I want understand:
>
> 1) from RB's NEW DIALOG, you get some unicode string, I think UTF8.
>
> 2) Do you convert it to usually multi-byte format ?
>
> It looks for us with big sure that IF you will convert it,
> then current Valentina functions will create disk files with good
> names on Russian, German, ...
> Igor have try this, and it works.
>
> OF COURSE, if you simply send UTF8 string, you get problems.
>
> I think it must not be a problem convert to the current SYSTEM
> encoding?
>
>
>
>> Hi,
>>
>> My problem is with Windows XP and Mac OS X. I choose to create a
>> database called 'áéíóú' for example and I get garbage. It looks like
>> raw Unicode text. You can check it using my app available here:
>> <http://www.maxprog.com/shareware/iCash.zip> I have tried during
>> several days to find a workaround and when I found 2 for Mac OS X, I
>> found none for Windows XP. Furthermore once the database is created
>> there is no way to change the file name. Whatever you do is converted
>> to more garbage. My app is made with RB 5.2.4 . I think you should fix
>> it on Mac OS X as well as I don't like too much the workarounds I have
>> found (one of them crashes on XP)
>>
>> Stan
>>
>>> on 11/4/03 10:41 PM, Stan Busk at maxprog at mac.com wrote:
>>>
>>> Hi Stan,
>>>
>>> Igor here have play with windows, and he wonder.
>>> He was able create db files with e.g. Russian names with no problems.
>>>
>>> Yes, this was not unicode names.
>>> But what difference???
>>>
>>>
>>> You can send to Valentina normal multi-byte string and it will create
>>> correct names.
>>>
>>> So we do not understand problem very well.
>>>
>>> Where you see show stopper?
>>>
>>> Please explain us problem again and in details.
>>>
>>> Let's go to list with this issue.
>
> --
> 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
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
>
More information about the Valentina
mailing list