mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Construction of TCollection_ExtendedString from plain C string is fixed to consider input string as UTF-8 in several places (identified as described in notes to #31113). Message_MsgFile is corrected to load resource file as UTF-8 (unless it has BOM indicating use of UTF-16). Added tests for use of Unicode in some DRAW commands (bugs demo bug14673_*)
13 lines
518 B
Plaintext
13 lines
518 B
Plaintext
puts "# ============================================================"
|
|
puts "# 0014673: Provide true support for Unicode symbols"
|
|
puts "# ============================================================"
|
|
puts ""
|
|
puts "# Use non-Ascii names for color scale"
|
|
|
|
pload VISUALIZATION
|
|
vinit
|
|
vcolorscale languages -title "Языки Восточной Азии" -range 1 3 3 -colors red green blue \
|
|
-labelAtBorder off -labels "Japanese 日本語" "Korean 한국어" "Chinese 中文"
|
|
|
|
vdump ${imagedir}/${casename}.png
|