Overview
| Artifact ID: | 524f2f4678241496d40b70d4a4cbd7a719502fbd |
|---|---|
| Ticket: | 506653ffffffffffffffffffffffffffffffffff
Trouble escape encod. as system encod. |
| User & Date: | andreas_kupries on 2002-01-21 21:32:32 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
This is a follow-up report to #219314. While the patch for that report possibly fixes the problem for the particular strings used it does not solve the general problem exposed by the test script in that report. The general problem is this: When using an escape encoding as the system encoding where will come a time when the escape encoding has to load one of the subordinate encodings to perform its task. At that time the system will try to translate the filename for that subordinate encoding using the current system encoding. Which is partially loaded, we have to load a subordinate encoding. The filename for that has to be translated ... Ad infinitum. Or at least until stack or heap run out. Jeff proposes the following general solution: When the command [encoding system] detects that the users asked it to make an escape encoding the system encoding it preloads all subordinate encodings *before* installing the escape encoding as the new system encoding. This prevents any future attempts to load the subordinate encodings. The penalty is that loading the system encoding takes more time in this case.
- foundin changed to: "None"
- priority changed to: "6"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to: "Trouble escape encod. as system encod."
- type changed to: "Bug"