TOutlook2010 and Message Bar are not support UNICODE

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby dutch » Thu Oct 01, 2015 2:27 am

Dear Antonio,

These are two picture that have only 1 line different
Code: Select all  Expand view
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
dutch
 
Posts: 1540
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby Antonio Linares » Thu Oct 01, 2015 7:48 am

Dutch,

Fixed, many thanks.

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42068
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby dutch » Fri Oct 02, 2015 7:46 am

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
dutch
 
Posts: 1540
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby nageswaragunupudi » Sat Oct 03, 2015 6:42 am

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
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby richard-service » Mon Oct 05, 2015 8:26 am

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?
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby nageswaragunupudi » Mon Oct 05, 2015 9:50 am

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  Expand view
#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
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby richard-service » Mon Oct 05, 2015 9:59 am

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  Expand view
#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.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby bpd2000 » Mon Oct 05, 2015 10:04 am

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
bpd2000
 
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby nageswaragunupudi » Mon Oct 05, 2015 10:43 am

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  Expand view
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
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: TOutlook2010 and Message Bar are not support UNICODE

Postby hebert_j_vargas » Wed Jun 07, 2017 3:23 pm

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
User avatar
hebert_j_vargas
 
Posts: 99
Joined: Thu Aug 02, 2012 3:21 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: jmartial and 39 guests