Search found 24 matches

by DInfo
Sun Nov 05, 2006 3:55 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

Igor,

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

David
by DInfo
Mon Oct 30, 2006 3:15 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 storage and then back to Unicode for display, it *is* subject to the same character re-mapping issues as I ...
by DInfo
Mon Oct 30, 2006 3:10 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 that staying in the Unicode world has worked miracles for our language compatibility. Here is a huge advantage f...
by DInfo
Sat Oct 28, 2006 7:59 am
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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, AnsiStringToWideStringCP(PropValue, CurrentCharset)); then you are converting your AnsiString from storage to a Widest...
by DInfo
Fri Oct 27, 2006 8:03 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 we fixed it. Look for for SetWideStrProp in TypInfo.pas. Trace it and you will be able to see the implicit...
by DInfo
Tue Oct 24, 2006 1:54 am
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 chars. So, (please forgive me for a bug report) this is an issue with TsiLang or Borland as described below....
by DInfo
Thu Oct 19, 2006 6:43 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 other language "garbage char" problems are related to code page/charset issues? An ActiveDocument is ...
by DInfo
Thu Oct 19, 2006 1:07 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 charset for the form for each language. This approach does not work for multiple languages with different ...
by DInfo
Tue Oct 17, 2006 8:45 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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. :) Unfortunately, TsiLang unicode implementation only works in circumstances in which the translated language can be represented by the ...
by DInfo
Mon Oct 16, 2006 6:18 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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?

Thanks,

David
by DInfo
Mon Oct 16, 2006 5:05 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 same exe.

Thanks

David
by DInfo
Mon Oct 16, 2006 12:00 pm
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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
by DInfo
Mon Oct 16, 2006 11:33 am
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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,

David
by DInfo
Sun Oct 15, 2006 12:12 am
Forum: TsiLang Components Suite
Topic: New Version Need with Unicode storage in TsiLang
Replies: 24
Views: 37523

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 switching of languages, especially in ActiveDocument COM servers. If your new version is going to store...
by DInfo
Tue Oct 10, 2006 5:57 pm
Forum: TsiLang Components Suite
Topic: ElPack Installation
Replies: 1
Views: 4798

Thanks, I solved it. The ELPack install was missing a dcp file.