国际字符(例如变音符号)在电子邮件地址的本地部分有效吗? [英] Are international characters (e.g. umlaut characters) valid in the local part of email addresses?

查看:249
本文介绍了国际字符(例如变音符号)在电子邮件地址的本地部分有效吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在电子邮件地址的本地部分中,德国变音符号(ä,ö,ü)和sz字符(ß)是否有效?

Are german umlauts (ä, ö, ü) and the sz-character (ß) valid in the local part of an email-address?

例如,使用以下电子邮件地址:björn.nußbaum@trouble.org

For example take this email-address: björn.nußbaum@trouble.org

RFC 5322非常清楚地指出,不允许使用变音符号(和其他国际字符).如果我看一章 3.4.1 ,那么以下内容本地部分: local-part = dot-atom / quoted-string / obs-local-part 那么dot-atom是什么意思?在 3.2.3 一章中进行了介绍:好吧,长话短说:Printable US-ASCII characters not including specials

RFC 5322 quite clearly says, that umlauts (and other international characters) aren't allowed. If I take a look at chapter 3.4.1, there's the following regarding the local part: local-part = dot-atom / quoted-string / obs-local-part So what means dot-atom? It's described in chapter 3.2.3: Well, long story short: Printable US-ASCII characters not including specials

因此,在整个RFC 5322中,我看不到有关国际字符的任何内容. 还是RFC 5322已经过时了? ( RFC 822 -> RFC 5322 )

So in the whole RFC 5322 I can't see anything regarding international characters. Or is RFC 5322 already obsolete? (RFC 822 -> RFC 2822 -> RFC 5322)

更新: 对我来说重要的一点是:当前的标准是什么?是否允许使用国际字符? RFC 5322被标记为草稿标准".所以我认为这是最近要依靠的资源,不是吗?

Update: The important point for me is: What's the current standard? International characters allowed or not? RFC 5322 is marked as DRAFT STANDARD. So I think that's the most recent source to rely on, isn't it?

Efran提到 RFC 5336 允许使用国际字符.但是RFC 5336被标记为EXPERIMENTAL,对我而言这并不有趣.

Efran mentioned, that RFC 5336 allows international characters. But RFC 5336 is marked as EXPERIMENTAL, so that's not interesting for me.

推荐答案

,只要负责电子邮件地址的邮件交换器支持UTF8SMTP扩展(在RFC 5336中进行了讨论).请注意,那里只有一小部分的邮件交换器支持国际化的电子邮件地址.

Yes, they are valid characters as long as the mail exchanger responsible for the email address supports the UTF8SMTP extension, discussed in RFC 5336. Beware that just a small portion of the mail exchangers out there supports internationalized email addresses.

Microsoft .NET的电子邮件验证组件和我们的

Both our email validation component for Microsoft .NET and our REST email validation service, for example, allow UTF8 characters in the local part of an email address but will mark it as invalid if its related mail exchanger does not support the aforementioned extension.

这篇关于国际字符(例如变音符号)在电子邮件地址的本地部分有效吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆