diff options
| author | Manolo Gouy <Manolo> | 2010-12-10 19:24:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-10 19:24:28 +0000 |
| commit | 85a03a76c9035635ea4a6f87500c475b0c9bf931 (patch) | |
| tree | 4963bf57493e5c1fc2c56d87ce910fd8e9f9ade9 /misc | |
| parent | 395f5a70aae1abbbaa2ce6be322ce197f134ef31 (diff) | |
Fix STR #2348. Files encoded with UTF-8 or CP1252 are accepted. Any non-UTF-8-encoded
data is interpreted according to CP1252 and transcoded to UTF-8. By default, a warning
message is displayed when the input file was transcoded. This default behavior can be
modified by changing a function pointer. A flag has been added to the Fl_Text_Buffer object
that informs the caller if the input file was transcoded to UTF-8.
The Fl_Text_Buffer.cxx file contains some preliminary code that could be used in the future
to input other encodings provided they are fixed-length (e.g., all ISO-8859-* character sets,
UTF-16). This code is not compiled at this point.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions
