Define a Character Code Set

Class library usage, coding and language questions.
ranettix
Posts: 20
Joined: Mon Aug 28, 2006 12:07 pm

Define a Character Code Set

Post by ranettix » Wed Sep 07, 2011 1:07 pm

Is it possible to define coding like UTF-8, UTF-16 or ASCII with Ranorex?
I'm using an implementation with Ranorex 1.2.0.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Define a Character Code Set

Post by Support Team » Wed Sep 07, 2011 4:00 pm

Hi,

I do not really understand what you mean with,
define coding like UTF-8, UTF-16 or ASCII
can you explain it in a more detailed way?
We would also suggest you to update to a newer version, because this version is about 4 years old and we have changed nearly everything with the old Ranorex 2.X release.

Regards,
Markus
Ranorex Support Team
.
Image

ranettix
Posts: 20
Joined: Mon Aug 28, 2006 12:07 pm

Re: Define a Character Code Set

Post by ranettix » Fri Sep 09, 2011 8:27 pm

Ranorex writes texts into GUI elements like list boxes, buttons, menus, title bars etc.
The question simply is which character set is used for writing these texts.

UTF-8 (Unicode Standard) for example defines 1-byte characters as used in the ASCII character set, but also characters using more than 1 byte. This implies that character codes with the numeric value higher than 127 use up more than 1 byte in UTF-8.

The question came up when texts were not displayed correctly, e.g. there were "?" characters not specified in the program - this could indicate that Ranorex sends character codings which are not compatible with the application or operating system configuration.

So far I assumed that Ranorex uses ASCII encoding, i.e. character values from 0 to 127.

Regards,
H. Groh

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Define a Character Code Set

Post by Support Team » Mon Sep 12, 2011 11:47 am

Hi,

Normally we use UTF-8 and for "press/keyboard" actions we use/call keyboard events.

Regards,
Markus
Ranorex Support Team
.
Image