本文介绍了用户名和空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几年中,我已经在在线或离线托管的各种应用程序和平台上进行了注册。

In past many years I have registered on various applications and platforms hosted online or offline.

为什么用户名中不允许使用空格,因为空格非常自然

Why white-spaces are not allowed in User Names as spaces are very natural to names and most of the computing systems can handle them efficiently.

(许多人可能会对其他非法的特殊字符提出类似的问题。但是他们的案情更容易理解!)

(Many people can raise similar questions about other special characters which are illegal. But their case is far more understandable as they are not even natural to real world naming schemes. And surely!)

推荐答案

与用户名中的空格有关的一个细微问题是空格字符是不可见的,并且两个连续的空格看起来与单个空格非常相似。输入两个而不是一个空格而引起的错误可能很难发现,这是不允许一起使用空格的原因之一。

One subtle problem related to spaces in user names is that the space character is "invisible" and two consecutive spaces may look very similar to a single space. Errors that arise from entering two instead of one space can be hard to spot and this is one reason to disallow spaces all together.

某些系统可能不允许使用空格,但仍然允许不间断的空间。精明的用户可以使用此事实在用户名中包含空格。

Some systems may disallow spaces but still allow a non-breaking space. A smart user can use this fact to include a space in his user name.

这篇关于用户名和空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 01:47