‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest:

Public Member Functions

 utf8DecodeACharacterToAscii ()
 
 utf8DecodeACharacterToIso885915 ()
 
 utf8DecodeEuroSignCharacterToIso885915 ()
 
 utf8DecodeAKanjiToBig5 ()
 
 convertingAUtf8EmojiSignToNonExistingAsciiRepresentationResultsInAQuestionMarkSign ()
 
 utf8DecodeToUtf8ReturnsTheSameSign ()
 
 utf8EncodeIso885915ACharacter ()
 
 utf8EncodeIso885915EuroSign ()
 
 utf8EncodeABig5EncodedSign ()
 
 utf8EncodeAlreadyUtf8EncodedSign ()
 
 utf8ToNumberArray ()
 
 specCharsToAsciiConvertsUmlautsToAscii (string $input, string $expectedString)
 
 specCharsToAsciiConvertsInvalidInputToEmptyString ($input)
 

Static Public Member Functions

static string[][] validInputForSpecCharsToAscii ()
 
static array[] invalidInputForSpecCharsToAscii ()
 

Detailed Description

Definition at line 23 of file CharsetConverterTest.php.

Member Function Documentation

◆ convertingAUtf8EmojiSignToNonExistingAsciiRepresentationResultsInAQuestionMarkSign()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::convertingAUtf8EmojiSignToNonExistingAsciiRepresentationResultsInAQuestionMarkSign ( )
Test:

Definition at line 114 of file CharsetConverterTest.php.

◆ invalidInputForSpecCharsToAscii()

static array [] TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::invalidInputForSpecCharsToAscii ( )
static

Data provider for specialCharactersToAsciiConvertsInvalidInputToEmptyString()

Returns
‪array[]

Definition at line 261 of file CharsetConverterTest.php.

◆ specCharsToAsciiConvertsInvalidInputToEmptyString()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::specCharsToAsciiConvertsInvalidInputToEmptyString (   $input)
Test:
‪@dataProvider invalidInputForSpecCharsToAscii
Parameters
mixed$input

Definition at line 284 of file CharsetConverterTest.php.

◆ specCharsToAsciiConvertsUmlautsToAscii()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::specCharsToAsciiConvertsUmlautsToAscii ( string  $input,
string  $expectedString 
)
Test:
‪@dataProvider validInputForSpecCharsToAscii

Definition at line 248 of file CharsetConverterTest.php.

◆ utf8DecodeACharacterToAscii()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8DecodeACharacterToAscii ( )
Test:

Definition at line 28 of file CharsetConverterTest.php.

◆ utf8DecodeACharacterToIso885915()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8DecodeACharacterToIso885915 ( )
Test:

Definition at line 48 of file CharsetConverterTest.php.

◆ utf8DecodeAKanjiToBig5()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8DecodeAKanjiToBig5 ( )
Test:

Definition at line 92 of file CharsetConverterTest.php.

◆ utf8DecodeEuroSignCharacterToIso885915()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8DecodeEuroSignCharacterToIso885915 ( )
Test:

Definition at line 70 of file CharsetConverterTest.php.

◆ utf8DecodeToUtf8ReturnsTheSameSign()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8DecodeToUtf8ReturnsTheSameSign ( )
Test:

Definition at line 131 of file CharsetConverterTest.php.

◆ utf8EncodeABig5EncodedSign()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8EncodeABig5EncodedSign ( )
Test:

Definition at line 171 of file CharsetConverterTest.php.

◆ utf8EncodeAlreadyUtf8EncodedSign()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8EncodeAlreadyUtf8EncodedSign ( )
Test:

Definition at line 186 of file CharsetConverterTest.php.

◆ utf8EncodeIso885915ACharacter()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8EncodeIso885915ACharacter ( )
Test:

Definition at line 142 of file CharsetConverterTest.php.

◆ utf8EncodeIso885915EuroSign()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8EncodeIso885915EuroSign ( )
Test:

Definition at line 157 of file CharsetConverterTest.php.

◆ utf8ToNumberArray()

TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::utf8ToNumberArray ( )
Test:

Definition at line 197 of file CharsetConverterTest.php.

◆ validInputForSpecCharsToAscii()

static string [][] TYPO3\CMS\Core\Tests\Unit\Charset\CharsetConverterTest::validInputForSpecCharsToAscii ( )
static

Data provider for specialCharactersToAsciiConvertsUmlautsToAscii()

Returns
‪string[][]

Definition at line 229 of file CharsetConverterTest.php.