Posted to tcl by jima at Wed Jul 01 16:27:33 GMT 2015view raw
- [11:03] Hermitifier Hello
- [11:04] Hermitifier I've got a problem with $argv encoding in tclkit
- [11:04] Hermitifier I narrowed it down to minimal one-liner script: puts $argv
- [11:05] Hermitifier Now, "tclsh argvtest.tcl ąóęü" works and prints "ąóęü"
- [11:06] Hermitifier But "tclkitsh argvtest.tcl ąóęü" doesn't work properly
- [11:06] Hermitifier I have to change the script to "puts [encoding convertfrom cp1250 $argv]"
- [11:07] Hermitifier Both shells are 8.6.4