Test €500 hmmmm
content ๐๐๐๐ ๐คช๐คช ๐คช bbbttt
// Example 1: Invalid UTF-8 byte sequence
$text = โHello x80x81 Worldโ; // Invalid UTF-8 bytes
iconv(โUTF-8โ, โISO-8859-1โ, $text); // ERROR
// Example 2: Character not in target charset
$text = โPrice: โฌ500โ; // Euro symbol
iconv(โUTF-8โ, โASCIIโ, $text); // ERROR โ โฌ doesnโt exist in ASCII
// Example 3: Malformed HTML entities
$text = โTest contentโ; // Invalid Unicode surrogate
iconv(โUTF-8โ, โUTF-8โ, $text); // ERROR
// Example 4: Mixed encodings
$text = โHello โ . mb_convert_encoding(โไธ็โ, โISO-8859-1โ, โUTF-8โ); // Corrupted
iconv(โUTF-8โ, โISO-8859-1โ, $text); // ERROR
// Example 5: Null bytes in wrong context
$text = โHellox00Worldโ;
iconv(โUTF-8โ, โASCII//TRANSLITโ, $text); // May error depending on position
// Example 6: Emoji in limited charset
$text = โGreat job! ๐โ;
iconv(โUTF-8โ, โISO-8859-1โ, $text); // ERROR โ emoji not in ISO-8859-1

