Modify

Opened 16 years ago

Closed 16 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 by anonymous, 16 years ago

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):

Ö,ö,Ü,ü,Ç,ç

comment:2 by Valik, 16 years ago

Resolution: No Bug
Status: newclosed

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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.