SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 24 matches
SiComponents Forums Forum Index
Author Message
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Sun Nov 05, 2006 3:55 pm   Subject: New Version Need with Unicode storage in TsiLang
Igor,

Best wishes on your new release. Thanks for engaging me on this whole unicode issue.

David
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 30, 2006 3:15 pm   Subject: New Version Need with Unicode storage in TsiLang
Igor,

One more follow up to your last message:

When Tsilang converts from the Unicode translation that is created in the native language (stored in the Dictionary) and then saved to AnsiString ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 30, 2006 3:10 pm   Subject: New Version Need with Unicode storage in TsiLang
Igor,

My bad ... of course you are correct on the TsiLang call.

It is interesting why the TsiLang conversions truncated the Unicode strings. How could this happen? I don't know. I do know tha ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Sat Oct 28, 2006 7:59 am   Subject: New Version Need with Unicode storage in TsiLang
Igor,

We are using TsiLang 6.0.2 as well. You example is exactly correct with this exception:

When TsiCustomLang.siSetStrProp makes the following call

SetWideStrProp(AObject, PInfo, AnsiStr ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Fri Oct 27, 2006 8:03 pm   Subject: New Version Need with Unicode storage in TsiLang
Igor,

We are calling SetWideStrProp just like TsiLang calls it. In fact, this is how we found the Delphi 6 bug mentioned. We are using Delphi 6. The function that I pasted is the function after ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Tue Oct 24, 2006 1:54 am   Subject: New Version Need with Unicode storage in TsiLang
Igor,

Thanks so much for your comments.

After we changed to pure unicode storage - making no changes to the ElPack, TNT, or std Delphi controls- the strings display correctly with no garbarge ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Thu Oct 19, 2006 6:43 pm   Subject: New Version Need with Unicode storage in TsiLang
Igor,

We are converting the language selection using Tnt Uncode controls and hand entering the languages - this is not a problem on the one control.

The question for us is, how much of our oth ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Thu Oct 19, 2006 1:07 pm   Subject: New Version Need with Unicode storage in TsiLang
Thanks for continuing the dialog.

I hadn't dug deep enough to understand that you are using the CurrentCharSet instead of defaulting to the locale. However, we have been using the correctly set ch ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Tue Oct 17, 2006 8:45 pm   Subject: New Version Need with Unicode storage in TsiLang
Thanks for the comments.

First, let me say that we *really* like Tsilang and it has saved us lots of work up to this point. We hope that we can continue to use it. Smile

Unfortunately, TsiLang uni ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 16, 2006 6:18 pm   Subject: New Version Need with Unicode storage in TsiLang
Maybe a better question: Does it make sense to convert the Ansi to Widestring by using GetTextFrom and then do a ..toWideString conversion using the code page that applies to a particular translation? ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 16, 2006 5:05 pm   Subject: New Version Need with Unicode storage in TsiLang
So, how do I convert your MBCS Ansi string to Unicode string without a code page conversion?

BTW: I am using TNT and ElPack and everything is unicode. We have to ship 20 to 30 languages in the sa ...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 16, 2006 12:00 pm   Subject: New Version Need with Unicode storage in TsiLang
It might also be helpful to ask the question this way:

Can I retrieve the AnsiStrings from storage without a code page conversion?

Thanks,

David
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Mon Oct 16, 2006 11:33 am   Subject: New Version Need with Unicode storage in TsiLang
Thanks for the update.

I am curious about the reasons for using AnsiString storage. What are the advantages of using AnsiStrings over Unicode? Am I missing something here?

Thanks again,
...
  Topic: New Version Need with Unicode storage in TsiLang
DInfo

Replies: 24
Views: 25221

PostForum: TsiLang Components Suite   Posted: Sun Oct 15, 2006 12:12 am   Subject: New Version Need with Unicode storage in TsiLang
Hi,

We are using Tnt and need to store and retrieve Unicode strings from the TsiLang component with *no* code page translation. Code page translation and locales are causing problems in on the fly ...
  Topic: ElPack Installation
DInfo

Replies: 1
Views: 2936

PostForum: TsiLang Components Suite   Posted: Tue Oct 10, 2006 5:57 pm   Subject: ElPack Installation
Thanks, I solved it. The ELPack install was missing a dcp file.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


Powered by p h p B B  © 2001, 2005 p h p B B  Group