View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001909 | JEDI Code Library | JclUnicode | public | 2004-06-30 14:29 | 2005-02-13 19:30 |
| Reporter | anonymous | Assigned To | Robert Rossmair | ||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | |||||
| Target Version | Fixed in Version | Version 1.95 | |||
| Summary | 0001909: JclUnicode.CharSetFromLocale - result ignored | ||||
| Description | TranslateCharsetInfoEx can return <false> on some systems (on my OS it is for LCID = $042B). This fact is ignored by the current version of JclUnicode.CharSetFromLocale which gives some range check errors during run time. | ||||
| Additional Information | Better version: function CharSetFromLocaleEx(Language: LCID; var FontCharSet: TFontCharSet): Boolean; var CP: Cardinal; CSI: TCharsetInfo; begin CP:= CodePageFromLocale(Language); Result := TranslateCharsetInfoEx(Pointer(CP), CSI, TCI_SRCCODEPAGE); if Result then FontCharset := CSI.ciCharset; end; | ||||
| Tags | No tags attached. | ||||
| Fixed in GIT commit | |||||
| Fixed in SVN revision | |||||
| IDE version | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-06-30 14:29 | anonymous | New Issue | |
| 2005-02-13 19:30 | Robert Rossmair | Status | new => resolved |
| 2005-02-13 19:30 | Robert Rossmair | Fixed in Version | => Version 1.95 |
| 2005-02-13 19:30 | Robert Rossmair | Resolution | open => fixed |
| 2005-02-13 19:30 | Robert Rossmair | Assigned To | => Robert Rossmair |
| 2005-02-13 19:30 | Robert Rossmair | Note Added: 0006490 |