What are the character restrictions in contact fields?

The restriction on certain fields helps us to ensure that important information remains legible and that the courier is able to deliver the package successfully. For example a driver may require the customers name to find their post box, apartment number or to ask for that person at reception.

For this reason characters such as box drawing, emoticons, emoji, mathematical and cartography symbols are all forbidden in contact fields 'contact.firstname' , 'contact.lastname' or 'contact.company'. See below the kind of response you can expect when attempting to use such restricted characters in these fields:

{
    "error": "RECORD_INVALID",
    "message": "Unable to save record",
    "data": {
        "deliveries": [
            "is invalid",
            "Origin place: Contact firstname: \"🧡\" contact_firstname can't have forbidden unicode chars",
            "Origin place: Contact lastname: \"😀\" contact_lastname can't have forbidden unicode chars",
            "Origin place: Contact company: \"🙅️\" contact_company can't have forbidden unicode chars",
            "Origin place: is invalid",
            "Destination place: Contact firstname: \"👩️\" contact_firstname can't have forbidden unicode chars",
            "Destination place: Contact lastname: \"😀\" contact_lastname can't have forbidden unicode chars",
            "Destination place: Contact company: \"🤘\" contact_company can't have forbidden unicode chars",
            "Destination place: is invalid"
        ]
    }
}

These fields with restrictions forbid the use of all characters outside the Basic Multilingual Plane (BMP) and a number of symbol characters from within the BMP. The allowed characters of these fields include most contemporary languages and alphabets, a restricted set of punctuation and diacritical marks. These span the range 0x0000-0xFFFF excluding 0x2000-0x2BFF. Exceptions are granted for the ranges 0x2010-0x201F (Punctuation) and 0x20A0-0x20BF (common currency symbols).

Quick question: the range 0x3000-0x303F (CJK punctuation) is listed as an “exception” that’s to be included due to being “within the forbidden symbol range (0x2000-0x2BFF)”.

However, the range 0x3000-0x303F is outside of the forbidden range 0x2000-0x2BFF, so I’m a bit confused as to why the “CJK punctuation” range is even mentioned. The “CJK punctuation” range should be allowed by default… right?

Just making sure I’m not missing something?

Hello @mirek,

Thank you for your message.

Indeed, by default the range 0x3000-0x303F is within our range of allowed values.
We will update our previous post for better understanding.

Cheers

1 Like