summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-01-24 09:02:16 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-01-24 09:02:16 +0000
commit27eaaca1fb0e26115374260bcbc86615f8c4be3c (patch)
treee8ff2f72077f4190ec54bead1daeb120c98e86f5 /tests
parent130cc4b209651ee89b711b16b76ac3c315619560 (diff)
downloadzetacomponents-graph-27eaaca1fb0e26115374260bcbc86615f8c4be3c.zip
zetacomponents-graph-27eaaca1fb0e26115374260bcbc86615f8c4be3c.tar.gz
- Fixed issue #10074: Use iconv instead of mbstring
Diffstat (limited to 'tests')
-rw-r--r--tests/font_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/font_test.php b/tests/font_test.php
index c2d721e..a0ee1ac 100644
--- a/tests/font_test.php
+++ b/tests/font_test.php
@@ -702,7 +702,7 @@ class ezcGraphFontTest extends ezcGraphTestCase
true
);
$driver->drawTextBox(
- mb_convert_encoding( 'öäüÖÄÜß', 'ISO-8859-15', 'UTF-8' ),
+ iconv( 'UTF-8', 'ISO-8859-15', 'öäüÖÄÜß' ),
new ezcGraphCoordinate( 10, 10 ),
150,
70,
@@ -774,7 +774,7 @@ class ezcGraphFontTest extends ezcGraphTestCase
true
);
$return = $driver->drawTextBox(
- mb_convert_encoding( 'öäüÖÄÜß', 'ISO-8859-15', 'UTF-8' ),
+ iconv( 'UTF-8', 'ISO-8859-15', 'öäüÖÄÜß' ),
new ezcGraphCoordinate( 10, 10 ),
150,
70,
@@ -852,7 +852,7 @@ class ezcGraphFontTest extends ezcGraphTestCase
true
);
$driver->drawTextBox(
- mb_convert_encoding( 'öäüÖÄÜß', 'ISO-8859-15', 'UTF-8' ),
+ iconv( 'UTF-8', 'ISO-8859-15', 'öäüÖÄÜß' ),
new ezcGraphCoordinate( 10, 10 ),
150,
70,
OpenPOWER on IntegriCloud