Opened 15 years ago
Closed 15 years ago
#1494 closed Bug (No Bug)
Turkish Characters gets trasnlated to english with INIWrite and ConsoleWrite
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.4.0 | Severity: | None |
Keywords: | Cc: |
Description
Hi,
When I'm trying to output text via ConsoleWrite or INIWrite I notice that Turkish characters are tranlated to english counterparts. This is causing error in string comparisons.
If I write turkish dotless i (ı) I notice that it was converted to i during INIWrite and ConsoleWrite.
Can you add Encoding to INIread/Write and ConsoleWrite as in FileWrite and FileRead ?
Best Regards,
KeremE
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by anonymous
comment:2 Changed 15 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
ConsoleWrite() outputs in ANSI (or UTF-8). This is a Windows limitation. I doubt very seriously the Ini functions are doing any conversion. However, I can't say for sure since you didn't bother to read the big red box explaining how to properly submit a bug report. Without an actual script I can tweak to confirm it's actually ConsoleWrite() and not the Ini functions, I'm just going to close this on the assumption it is ConsoleWrite() since I know for a fact it outputs in ANSI.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Affected characters are:
İ -> I (i with dot)
Ğ -> G (G Breve)
Ş -> S (S Cedilla)
ı -> I (dotless i)
ğ -> g (g Breve)
ş -> s (s Cedilla)
not-converted characters (read and written as is):
Ö,ö,Ü,ü,Ç,ç