View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025302 | Open CASCADE | OCCT:Foundation Classes | public | 2014-10-01 11:28 | 2017-08-01 15:57 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Product Version | 6.8.0 | ||||
Target Version | Unscheduled | ||||
Summary | 0025302: Incorrect locale and unicode support in Draw console | ||||
Description | Draw tcl console process locale strings incorrectly. The files with unicode or locale symbols are processed properly. | ||||
Steps To Reproduce | Please use the following script: set s сабака put $s set s [encoding convertto utf-8 сабака] encoding convertfrom utf-8 $s vdrawtext сабака 0 0 0 255 255 255 0 0 0 1 50 0 Mona 1 | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
which encoding do a have to use for "dtext"? |
|
dtext-codec.png (7,347 bytes) |
|
Hello Sebastian, Command "dtext" is old one and it uses system API to draw text (TextOut on Windows and XDrawString on X11). It will work correctly only for strings containing plain Ascii text (in range 0-127). Please use vdrawtext command instead. If you have strong need to use old DRAW graphic interface, you can try to improve it to support Unicode... |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-10-01 11:28 |
|
New Issue | |
2014-10-01 11:28 |
|
Assigned To | => abv |
2014-10-01 11:28 |
|
Relationship added | related to 0022484 |
2014-10-19 22:46 | shoogen | Note Added: 0033307 | |
2014-10-19 22:55 | shoogen | File Added: dtext-codec.png | |
2014-10-20 10:24 |
|
Note Added: 0033311 | |
2015-06-29 20:15 | kgv | Relationship added | related to 0026380 |
2017-08-01 15:57 |
|
Test case number | => Not needed |
2017-08-01 15:57 |
|
Status | new => closed |
2017-08-01 15:57 |
|
Resolution | open => no change required |