case '2#025': /* keywords */
$data['Keywords'] = self::convIPTC( $val, $c );
break;
case '2#025': /* keywords */
$data['Keywords'] = self::convIPTC( $val, $c );
break;
$data['CountryDest'] = self::convIPTC( $val, $c );
break;
case '2#095': /* state/province (shown) */
$data['CountryDest'] = self::convIPTC( $val, $c );
break;
case '2#095': /* state/province (shown) */
case '2#040': /* special instructions */
$data['SpecialInstructions'] = self::convIPTC( $val, $c );
break;
case '2#040': /* special instructions */
$data['SpecialInstructions'] = self::convIPTC( $val, $c );
break;
$data['Headline'] = self::convIPTC( $val, $c );
break;
case '2#110': /* credit */
$data['Headline'] = self::convIPTC( $val, $c );
break;
case '2#110': /* credit */
* only code that seems to have wide use. It does detect that code.
*/
static function getCharset( $tag ) {
* only code that seems to have wide use. It does detect that code.
*/
static function getCharset( $tag ) {
// According to iim standard, charset is defined by the tag 1:90.
// in which there are iso 2022 escape sequences to specify the character set.
// the iim standard seems to encourage that all necessary escape sequences are
// According to iim standard, charset is defined by the tag 1:90.
// in which there are iso 2022 escape sequences to specify the character set.
// the iim standard seems to encourage that all necessary escape sequences are