Card (ICC)Format: anLength: 2-8
5F2D

Language Preference

Tag ID
5F2D
Format
an
Length (bytes)
2-8
Source
Card (ICC)

What it is

Language Preference lists up to four two-character ISO 639-1 language codes, in priority order, that the card would like the terminal to use for display. The terminal picks the first language it supports.

Where it appears

Read from the card record files; used for terminal display selection.

How tag 5F2D is encoded

EMV data objects are BER-TLV: tag, then length, then value. 5F2D is a 2-byte, application class, primitive tag (tag number 45), so its value is plain data rather than nested TLV objects.

5F01011111Bits 8–7 = 01: application class. Bit 6 = 0: primitive. Bits 5–1 all set: the tag number continues in the next byte.
2D00101101Bit 8 = 0: last tag byte. Bits 7–1 = 45.

Length

The value is between 2 and 8 bytes long, so the length field runs from 02 to 08.

Value format an

Format an is alphanumeric: one character per byte, letters and digits only.

Who supplies it

The card supplies this value. The terminal reads it from the card’s responses during application selection, GET PROCESSING OPTIONS, READ RECORD or GENERATE AC, depending on where the issuer personalised it.

Specification reference

Defined in: EMV 4.x Book 3 (Application Specification), Annex A — Data Element Dictionary

Example values

656e6672"enfr" — English then French

Decode & build this tag