信用卡验证:卡名可以包含非ASCII字符吗? [英] Credit Card validation: can Card Name contain non-ASCII characters?
问题描述
卡名(即持卡人姓名,而不是卡类型)可以包含非ASCII字符吗? 例如:JOSÉGONZÁLEZ".
Can the Card Name (i.e. the cardholder name, not the card type) contain non-ASCII characters? Example: "JOSÉ GONZÁLEZ".
推荐答案
使用的字符集不允许允许变音符号.简而言之,它只允许使用大写ASCII字符.
The character set that is used does not allow for diacritics. In brief, it only allows uppercase ASCII characters.
限制最终来自银行卡将数据编码到磁条上的历史方式( ITU-T.50
The restriction ultimately comes from the historical way in which banking cards encode data onto the magnetic stripe (as defined in ISO 7811). The data is encoded in a 7 bits per character format known as ITU-T.50
持卡人姓名最多可编码26个字符,每个字符的范围为20-5F(十六进制).您可以在此处查看此表: http://www.zytrax.com/tech/ia5. html
The cardholder name is encoded with up to 26 characters, each within the range from hex 20-5F. You can see the table for this here: http://www.zytrax.com/tech/ia5.html
这篇关于信用卡验证:卡名可以包含非ASCII字符吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!