function UnicodeUnitTest::testEmulatedUnicode

Test emulated unicode features.

File

drupal/core/modules/system/lib/Drupal/system/Tests/System/UnicodeUnitTest.php, line 60
Definition of Drupal\system\Tests\System\UnicodeUnitTest.

Class

UnicodeUnitTest
Test unicode handling features implemented in unicode.inc.

Namespace

Drupal\system\Tests\System

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();
}