Opened on Apr 24, 2013 at 2:29:16 PM
Closed on May 5, 2013 at 6:33:27 PM
#2337 closed Bug (Fixed)
Au3Record: Unicode and endianness
| Reported by: | Owned by: | Jpm | |
|---|---|---|---|
| Milestone: | 3.3.9.5 | Component: | Other |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | Au3Record unicode | Cc: |
Description
Hi,
When recording a script with Au3Record on a French keyboard, the saved file starts with the BOM 0xFFFE indicating a "Little Endian Unicode" sequence. Thus, most of the regular characters are actually in Little Endian order (eg "AU3" -> 41 00 55 00 33 00) but not all them; for example, the "equal" (=) character is encoded 3D 00 and when I open the file with an editor such as notepad I get the Chinese symbol 㴀 corresponding to the unicode character U+3D00. And it's the same with comma, colon, exclamation mark, accented characters and more.
Have you ever encountered such a problem?
A big Congratulations anyway for your work,
Jacques
Attachments (1)
Change History (8)
comment:2 by , on May 1, 2013 at 7:29:58 AM
There is much more when running Under Windows 8 64-bit fr keyboard
comment:3 by , on May 1, 2013 at 4:05:18 PM
In fact the current dll does not seems to support non English keyboard ...
could be difficult to fix as the source of the .dll is not available
comment:4 by , on May 1, 2013 at 6:17:07 PM
Are you sure J-P?
I don't know which dll you're refering to as it comes to intercepting keystrokes but I know for sure from own experience that the same function can be carried over by other means and over the whole French keyboard composed character range. Then saving and Send()-ing the captured data as Unicode is straightforward.
I'm not going to discuss this further publickly. Use MP to jchd or email where you know.
comment:5 by , on May 2, 2013 at 6:34:22 AM
the dll is ASWhook.dll send by Larry
I know that can be fix
comment:6 by , on May 5, 2013 at 11:42:30 AM
In fact The recording can work only Under the same keyboard.
Definetly the present implementation just work with English keyboard.
I am on the way to fix it for any(?) keyboard at least the french one will work.
comment:7 by , on May 5, 2013 at 6:33:27 PM
| Milestone: | → 3.3.9.5 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [7706] in version: 3.3.9.5

Confirmed: for instance '=' gets indeed encoded as UTF16-BE in an otherwise UTF16-LE result file.