Page 1 of 1

Unicode support

Posted: Fri Dec 23, 2005 6:12 pm
by horst
Here is an email from a Japanese user of my program "MemPad":
+++++
Dear Mr.Scaeffer,

This is ********** from Japan.
I'm not sure MemPad suports Uni-code(2 byte characters like Japanse).
In my PC with WindowsXP MemPad works well. but Windows 2000 is not good.
The index(left side) cannot show 2 byte characters. Right side is OK.

We use Japanes file name, unfortunely "file:\" cannot link these file.
If possible, Please suport 2 byte characters. English menu is OK.

Best regards, ...
+++++

I am surprised that my program works in Japanese at all, though I have done absolutely nothing to suport Unicode. Under Windows 2000 there seem to be problems with the TreeGadget, but EditorGadget, buttons and menus seem to work nicely.

Now, my question is: when PureBasic supports Unicode (expected in version 4.0), will this be sort of an automatic support, or will I have to do a lot of programming with a lot of special functions?

Posted: Fri Dec 23, 2005 11:43 pm
by Fred
It will come with v4 and will be fully automatically (only a compiler flag - so you need to ship 2 executables but this can't be avoided).

Posted: Sat Dec 24, 2005 6:15 am
by Intrigued
Fred wrote:It will come with v4 and will be fully automatically (only a compiler flag - so you need to ship 2 executables but this can't be avoided).

That will be ahead of another platform I use, along with PB. Thanks for the heads up Fred.

Posted: Sat Dec 24, 2005 8:48 am
by horst
Fred wrote:It will come with v4 and will be fully automatically (only a compiler flag - so you need to ship 2 executables but this can't be avoided).
That sounds nice. Offereing 2 versions is no problem.
Thanks, Fred!

Posted: Sat Dec 24, 2005 6:51 pm
by Rescator
It will come with v4 and will be fully automatically (only a compiler flag - so you need to ship 2 executables but this can't be avoided).
Well! Doesn't any Windows version starting from Windows98SE (2nd Edition) and up have unicode support anyway?
Only Win98 (1st edition), and Win95 has issues with unicode. or?

Posted: Sun Dec 25, 2005 12:37 pm
by Fred
No, you have to put a dll in win9x/Me to have unicode support.

Posted: Sun Dec 25, 2005 1:45 pm
by okasvi
Fred wrote:No, you have to put a dll in win9x/Me to have unicode support.

isnt unicode support already shifted on 9x/Me years ago along winupdate? i dont give any guarantee to anything i have coded without latest windows updates...