TOutlook2010 and Message Bar are not support UNICODE

User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by dutch »

Dear Antonio,

These are two picture that have only 1 line different

Code: Select all

FW_Setunitcode( .T. )
Image
picture sharing
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by Antonio Linares »

Dutch,

Fixed, many thanks.

We are going to publish a new FWH 15.09 build.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by dutch »

Thanks, Antonio.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by nageswaragunupudi »

Revised build may be released at any time now.
Now all controls that were left out are covered Outlook,2003,2010, explorerbar,ttreeview,msgbar,tooltips,c5tooltips and many others.

We also tested indexing DBFs with our known Indian languages. Seeks, filters along with xbrowse's incremental seeks, filters are all working. In fact this was to my own surprise. I hope it may work so with your Thai language too.

We still need to get back to you on Accelerators.

To the best of my knowledge we tried to cover everything, except ADO. If still something is left out we are eager to have your feedback.
Regards

G. N. Rao.
Hyderabad, India
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by richard-service »

nageswaragunupudi wrote:Revised build may be released at any time now.
Now all controls that were left out are covered Outlook,2003,2010, explorerbar,ttreeview,msgbar,tooltips,c5tooltips and many others.

We also tested indexing DBFs with our known Indian languages. Seeks, filters along with xbrowse's incremental seeks, filters are all working. In fact this was to my own surprise. I hope it may work so with your Thai language too.

We still need to get back to you on Accelerators.

To the best of my knowledge we tried to cover everything, except ADO. If still something is left out we are eager to have your feedback.
Dear Mr.Rao
How about Chinese Language? I try Antonio's EXE not work within Resource Dialog when I key Chinese word and not display word.
How do you think?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by nageswaragunupudi »

Gets from resources also work. We can enter any language. The system works exactly the same way with any language in the world that has Windows Unicode support.

This is the program I used:

Code: Select all

#include "fivewin.ch"

function Main()

   local oDlg, oFont, oGet
   local cGet := Space( 100 )

   FW_SetUnicode( .t. )

   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-14
   DEFINE DIALOG oDlg RESOURCE "MULTILANG" FONT oFont

   REDEFINE GET oGet VAR cGet ID 4002 OF oDlg

   ACTIVATE DIALOG oDlg CENTERED
   RELEASE FONT oFont

   ? Trim( cGet )

return nil
 
I created the dialog in Pelles C IDE and saved it as ll.res file and linked with my program.

Dialog:
Image

Result:
Image

I entered four languages in the same Get, English and three Indian languages Hindi, Telugu and Gujarati. If you have the right keyboard you can enter any language including Chinese.

KeyBoard:
1. Physical Keyboard: You should use MS Windows compatible keyboard.
OR
2. Download and install Windows language pack with On Screen Keyboard. I have installed OS Keyboards for 3 Indian languages Hindi, Telugu and Gujarati for testing.
OR
3. Install Google Input tools for the language(s) you want. I use this too for testing.

If you want I can send the above exe by email
Regards

G. N. Rao.
Hyderabad, India
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by richard-service »

nageswaragunupudi wrote:Gets from resources also work. We can enter any language. The system works exactly the same way with any language in the world that has Windows Unicode support.

This is the program I used:

Code: Select all

#include "fivewin.ch"

function Main()

   local oDlg, oFont, oGet
   local cGet := Space( 100 )

   FW_SetUnicode( .t. )

   DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-14
   DEFINE DIALOG oDlg RESOURCE "MULTILANG" FONT oFont

   REDEFINE GET oGet VAR cGet ID 4002 OF oDlg

   ACTIVATE DIALOG oDlg CENTERED
   RELEASE FONT oFont

   ? Trim( cGet )

return nil
 
I created the dialog in Pelles C IDE and saved it as ll.res file and linked with my program.

Dialog:
Image

Result:
Image

I entered four languages in the same Get, English and three Indian languages Hindi, Telugu and Gujarati. If you have the right keyboard you can enter any language including Chinese.

KeyBoard:
1. Physical Keyboard: You should use MS Windows compatible keyboard.
OR
2. Download and install Windows language pack with On Screen Keyboard. I have installed OS Keyboards for 3 Indian languages Hindi, Telugu and Gujarati for testing.
OR
3. Install Google Input tools for the language(s) you want. I use this too for testing.

If you want I can send the above exe by email
Dear Mr.Rao
Antonio's sample RC(Unicode) not work. so please sent to me EXE file.
I just test below:
1. PRG + RES( Pelles C IDE ) => EXE file
2. PRG + DLL( Pelles C IDE ) => EXE + DLL two files => Set Resource to "xxx.DLL"

or Use My Sample below:
1.
Please try to compile again.
A. Because RC file not ASCII, so I save as ASCII.
B. 1 24 "WindowsXP.Manifest" not add into EXE file. Please add into.

http://www.fivetech.com.tw/downloads/TestU8.rar

2.
A. please don’t delete RC file, because RC file include bitmap and WinXP Manifest need to be add.
B. I want to test call Resource DLL file to input Chinese.

http://www.fivetech.com.tw/downloads/TestU8-dll.rar

My EMail fivetech @ hotmail dot com dot tw
Last edited by richard-service on Mon Oct 05, 2015 10:10 am, edited 2 times in total.
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
bpd2000
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by bpd2000 »

Dear Mr. Rao
To implement Unicode is some level complex for some user
I suggest to prepare and upload little video of Screen Captured, so user can easily understand how Unicode work seamlessly
Regards, Greetings

Try FWH. You will enjoy it's simplicity and power.!
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by nageswaragunupudi »

Mr Richard

Sent Exe.

Mr Dave

It is not complex at all. In fact it is extremely simple.
Take any working project, however big or complex it may be, provided it uses DBF for data (not ADO).
Add one line of code at the beginning of the function Main()

Code: Select all

FW_SetUnicode( .t. )
Now the entire application is fully multi-lingual. Users can enter text in the language they choose and store in database. Indexing, filtering, relations, browsing, printing work in the language of the user.

Can anything be simpler than this? You yourself said: "Try FWH. You will enjoy it's simplicity and power.!"

Points to keep in mind:
1) For real life work, you need to increase field lengths of text fields by around 2 to 2.5 times.
2) To start with all captions and prompts in your dialogs and windows continue to be still in English. You may need to keep replacing string constants in the program files with native language prompts or have some arrangement like FWStings() for dynamic choice of language for prompts.

I'll also keep in mind posting a video.
Regards

G. N. Rao.
Hyderabad, India
User avatar
hebert_j_vargas
Posts: 94
Joined: Thu Aug 02, 2012 3:21 pm

Re: TOutlook2010 and Message Bar are not support UNICODE

Post by hebert_j_vargas »

Antonio Linares wrote:Dutch,

Fixed, many thanks.

We are going to publish a new FWH 15.09 build.
Antonio, could you please share your fix for Toutlook2010, if I test the sample from Dutch, the program just closed without any error, if you remove FW_SetUnicode( .T. ), it works fine!
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20141106)
FiveWin Version: FWHX 15.01
BCC 5.8.2
Post Reply