Phindows and the German language

Thanks is advance for any help. I’ve got an application that I’m converting
to German. I set the export ‘KBD’ to a German keyboard layout and so far
everything looks good. That was until I used Phindows to access my system
from good ol MS and suddenly my keyboard was back to the standard USA
layout. My question is this. Do I have to run a German version of
Microsoft Windows 98/NT/2000, or is there something I can set in Phindows?
I did not see anything there. Or am I just out of luck. Again, thanks.

Ivan Bannon
RJG Inc.

“Ivan Bannon” <ivan.bannon@rjginc.com> wrote in message
news:b9tfa5$38v$1@inn.qnx.com

Thanks is advance for any help. I’ve got an application that I’m
converting
to German. I set the export ‘KBD’ to a German keyboard layout and so far
everything looks good. That was until I used Phindows to access my system
from good ol MS and suddenly my keyboard was back to the standard USA
layout. My question is this. Do I have to run a German version of
Microsoft Windows 98/NT/2000, or is there something I can set in Phindows?
I did not see anything there. Or am I just out of luck. Again, thanks.

phindows (at least version 1.20) dosn’t use UNICODE i.e. all keyboard input
from phindows to phrelay is 8bit and as a result is based on some code page.
in your case this one is German (i don’t remember it’s name/number, for
Russian that’s CP1251) when data is received by phrelay, it’s emmitted as
keyboard hit events into Photon but characters are still mapped to some code
page (phrelay dosn’t know about phindow’s codepage, right ?). so now from
Photon applications’s point of view we have a text input which expected to
be UNICODE but which is not UNICODE. that’s [incredibly] bad. and you can do
nothing with it.

one workaround is on QNX4/Photon side intercept all keyboard events emitted
by phrelay, convert character codes from 8bit to UNICODE (assumed that we
know original codepage @phindows side) and re-emmit 'em back to Photon so
applications based on UNICODE input will be happy.

i wrote this kind of filter “phkbfep” which you can find here:
http://ianzag.megasignal.com/ftp/os/QNX4/utils/photon/ which works fine [at
least for me :slight_smile:] when i’d to input Cyrillics CP1251 based text from
phindows/win2k based workstation to QNX4/Photon server.

hope this will help

// wbr

Ian Zagorskih wrote:

“Ivan Bannon” <> ivan.bannon@rjginc.com> > wrote in message
news:b9tfa5$38v$> 1@inn.qnx.com> …

Thanks is advance for any help. I’ve got an application that I’m

converting

to German. I set the export ‘KBD’ to a German keyboard layout and so far
everything looks good. That was until I used Phindows to access my system
from good ol MS and suddenly my keyboard was back to the standard USA
layout. My question is this. Do I have to run a German version of
Microsoft Windows 98/NT/2000, or is there something I can set in Phindows?
I did not see anything there. Or am I just out of luck. Again, thanks.

phindows merely sends the symbols generated, so yes, you need Windows
to be generating german symbols. (I don’t know if that’s a Windows
setting or a whole different version of Windows)

phindows (at least version 1.20) dosn’t use UNICODE i.e. all keyboard input
from phindows to phrelay is 8bit and as a result is based on some code page.

Um, no, you’re about half right. :slight_smile: phindows uses unicode if it can.
However I just checked and fixed a bug that would not even try
to do unicode for some Windows versions (sounds like the version of
Windows you use is one of them)

[snip]

“Garry Turcotte” <garry@qnx.com> wrote in message
news:b9u088$onb$1@nntp.qnx.com

Ian Zagorskih wrote:
“Ivan Bannon” <> ivan.bannon@rjginc.com> > wrote in message
news:b9tfa5$38v$> 1@inn.qnx.com> …

Thanks is advance for any help. I’ve got an application that I’m

converting

to German. I set the export ‘KBD’ to a German keyboard layout and so
far
everything looks good. That was until I used Phindows to access my
system
from good ol MS and suddenly my keyboard was back to the standard USA
layout. My question is this. Do I have to run a German version of
Microsoft Windows 98/NT/2000, or is there something I can set in
Phindows?
I did not see anything there. Or am I just out of luck. Again, thanks.

phindows merely sends the symbols generated, so yes, you need Windows
to be generating german symbols. (I don’t know if that’s a Windows
setting or a whole different version of Windows)

phindows (at least version 1.20) dosn’t use UNICODE i.e. all keyboard
input
from phindows to phrelay is 8bit and as a result is based on some code
page.

Um, no, you’re about half right. > :slight_smile: > phindows uses unicode if it can.
However I just checked and fixed a bug that would not even try
to do unicode for some Windows versions (sounds like the version of
Windows you use is one of them)

It would be perfect if phindows [1.x] took care about supplying input data
in UNICODE form. Any hopes to see updates for phindows ? :slight_smile:

// wbr

I doubt 1.x will be updated (I don’t make those decisions) because
2.x is fully backwards compatible.

It would be perfect if phindows [1.x] took care about supplying input data
in UNICODE form. Any hopes to see updates for phindows ? > :slight_smile:

// wbr

“Garry Turcotte” <garry@qnx.com> wrote in message
news:ba0416$blb$1@nntp.qnx.com

I doubt 1.x will be updated (I don’t make those decisions) because
2.x is fully backwards compatible.

…but the price of v2.0 is twise of v1.20 (according to prices of chief
QSS distributor in Russia www.swd.ru/qnx).

// wbr

Thanks for all the advice. I did set my Windows 2000 to a German keyboard
and got Phindows to appear to work ok. Now I’ve got another problem. In
all my applications on QNX4 that create files or directories I am using
UNICODE and all files/directories are created in UNICODE. But if I create a
file/directory in a shell using ‘mkdir’ the file comes out in Extended
ASCII. (Keep in mind this is with a German keyboard) I’ve noticed also
that my Windows 2000, with a German keyboard, creates files/directories in
Extended ASCII. Is there a way to setup Windows 2000 to use only UNICODE
and to get QNX4 to use only UNICODE. Or do I have to try Ians suggestion
and trap all keyboard inputs, then convert. I shudder to think I have yet
to convert to Japanese and Chinese (Big5, Traditional, etc.) Again, thanks.


“Garry Turcotte” <garry@qnx.com> wrote in message
news:b9u088$onb$1@nntp.qnx.com

Ian Zagorskih wrote:
“Ivan Bannon” <> ivan.bannon@rjginc.com> > wrote in message
news:b9tfa5$38v$> 1@inn.qnx.com> …

Thanks is advance for any help. I’ve got an application that I’m

converting

to German. I set the export ‘KBD’ to a German keyboard layout and so
far
everything looks good. That was until I used Phindows to access my
system
from good ol MS and suddenly my keyboard was back to the standard USA
layout. My question is this. Do I have to run a German version of
Microsoft Windows 98/NT/2000, or is there something I can set in
Phindows?
I did not see anything there. Or am I just out of luck. Again, thanks.

phindows merely sends the symbols generated, so yes, you need Windows
to be generating german symbols. (I don’t know if that’s a Windows
setting or a whole different version of Windows)

phindows (at least version 1.20) dosn’t use UNICODE i.e. all keyboard
input
from phindows to phrelay is 8bit and as a result is based on some code
page.

Um, no, you’re about half right. > :slight_smile: > phindows uses unicode if it can.
However I just checked and fixed a bug that would not even try
to do unicode for some Windows versions (sounds like the version of
Windows you use is one of them)

[snip]