ee5781a85ab0fa604e052fb5aeedd75213829a31
[occt.git] / tests / bugs / fclasses / bug22125
1 puts "=========="
2 puts "OCC22125"
3 puts "=========="
4 puts ""
5 ################################################################
6 # TCollection_ExtendedString: conversion from UTF-8 to unicode
7 ################################################################
8
9 pload XDE
10
11 # words "it works" translated to Traditional Chinese by Google Translate
12 set s [encoding convertfrom utf-8 "\xE6\x9C\x89\xE7\x94\xA8"]
13
14 igesbrep [locate_data_file bug22125_Part1_badname.igs] a *
15 brepiges a ${imagedir}/Part1_badname_$s.igs
16 igesbrep ${imagedir}/Part1_badname_$s.igs result *
17
18 file delete -force [glob -nocomplain ${imagedir}/Part1_badname_*.igs]
19
20 checkview -display result -2d -path ${imagedir}/${test_image}.png