Define a Character Code Set : Automation API

Define a Character Code Set

Class library usage, coding and language questions.

Define a Character Code Set

Postby ranettix » Wed Sep 07, 2011 2: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.
ranettix
 
Posts: 20
Joined: Mon Aug 28, 2006 1:07 pm

Re: Define a Character Code Set

Postby Support Team » Wed Sep 07, 2011 5: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
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Define a Character Code Set

Postby ranettix » Fri Sep 09, 2011 9: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
ranettix
 
Posts: 20
Joined: Mon Aug 28, 2006 1:07 pm

Re: Define a Character Code Set

Postby Support Team » Mon Sep 12, 2011 12:47 pm

Hi,

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

Regards,
Markus
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4840
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests