From 5e5ce65be4bfbea832c468be504baf358da2c671 Mon Sep 17 00:00:00 2001 From: apn Date: Fri, 31 Oct 2014 16:46:53 +0300 Subject: [PATCH] 0022125: TCollection_ExtendedString: conversion from UTF-8 to unicode Added test case bugs/fclasses/bug22125 --- tests/bugs/fclasses/bug22125 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/bugs/fclasses/bug22125 diff --git a/tests/bugs/fclasses/bug22125 b/tests/bugs/fclasses/bug22125 new file mode 100644 index 0000000000..3afb0b17c2 --- /dev/null +++ b/tests/bugs/fclasses/bug22125 @@ -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