mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0022125: TCollection_ExtendedString: conversion from UTF-8 to unicode
Added test case bugs/fclasses/bug22125
This commit is contained in:
parent
6fb3418ea1
commit
5e5ce65be4
18
tests/bugs/fclasses/bug22125
Normal file
18
tests/bugs/fclasses/bug22125
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
puts "=========="
|
||||||
|
puts "OCC22125"
|
||||||
|
puts "=========="
|
||||||
|
puts ""
|
||||||
|
################################################################
|
||||||
|
# TCollection_ExtendedString: conversion from UTF-8 to unicode
|
||||||
|
################################################################
|
||||||
|
|
||||||
|
pload XDE
|
||||||
|
|
||||||
|
set s [encoding convertfrom unicode "\xDE\x30\xF9\x30\xF1\x30"]
|
||||||
|
igesbrep [locate_data_file bug22125_Part1_badname.igs] a *
|
||||||
|
brepiges a ${imagedir}/Part1_badname_$s.igs
|
||||||
|
igesbrep ${imagedir}/Part1_badname_$s.igs result *
|
||||||
|
|
||||||
|
file delete -force [glob -nocomplain ${imagedir}/Part1_badname_*.igs]
|
||||||
|
|
||||||
|
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user