Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function UnicodeUnitTest::testEmulatedUnicode

Test emulated unicode features.

File

modules/simpletest/tests/unicode.test, line 56

Class

UnicodeUnitTest
Test unicode handling features implemented in unicode.inc.

Code

function testEmulatedUnicode() {
 global $multibyte;
 $multibyte = UNICODE_SINGLEBYTE ;
 $this->extendedMode  = FALSE;
 $this->pass (t ('Testing in emulated (best-effort) mode'));
 $this->helperTestStrToLower ();
 $this->helperTestStrToUpper ();
 $this->helperTestUcFirst ();
 $this->helperTestStrLen ();
 $this->helperTestSubStr ();
 $this->helperTestTruncate ();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.