From: SourceForge.net <no...@so...> - 2009-12-01 13:02:36
|
Feature Requests item #2906752, was opened at 2009-12-01 14:02 Message generated for change (Tracker Item Submitted) made by mickey_knox You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=2906752&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 44. UTF-8 Strings Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Pawel Pawlak (mickey_knox) Assigned to: Jan Nijtmans (nijtmans) Summary: Retrieving current OEM encoding Initial Comment: OEM encoding is used on Windows by the console (.bat, .cmd files). If a string contains diacritical characters, it must be converted from ANSI to OEM encoding prior to writing it to a .bat file. Currently there's no way of getting the current OEM encoding in Tcl. I suggest extending the "encoding" command to accept the "oem" parameter, that will return the current OEM encoding (just as the "system" parameter returns the current ANSI encoding). I have no knowledge of OEM encoding on non-Windows systems, so I leave it to the experts (my first thought was it would just return the system encoding). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360894&aid=2906752&group_id=10894 |