English 中文(简体)
应从名字中筛选出奇数
原标题:should i screen out odd characters from names

From Personal names in a global application: What to store and How can I validate a name, middle name, and last name using regex in Java?

i 读到,由于国际可能性,你可以真正验证姓名、多个名字、我们的名字。 一般性判决是避免这种做法,而是安全地作出,这意味着允许一切可能的特性、组合,并仅将其印成html-安全标记。

但是,special natures? Shift + “one to 9” series and others, should i only access to them to be place in the database and “play safe” or should i Screen out?

i 还将要求我的节目用户以负责任的方式输入姓名(尽管这不能保证),但至少应当有强制性规则,但不能完全排除有理由使用<代码><<>$或@的其他人。

i m on PHP and JS but same goes for all languages that use input validations

EDIT:

i 确实需要注意,这并不真正意味着“Shft 1-9”。 这只是所谓的。 其中还包括1-9之外的特殊性质。 对混淆表示担忧。

在此,我的申请像图书馆申请一样。 a 书籍有头衔、作者和一年。 虽然标题和年份可以到一张桌上,但作者希望列入另一个表格。 这些投入来自用户。 现在,一米将执行提交人的汽车。 但是,自动填写数据依据的是用户的意见,即汽车数据的可靠性将以用户的作者投入为基础。

just like facebook, how do they implement this? i haven t seen any friend using special characters, unlike those friendster times where everytime i search, people with numeric or special charactered names come up first - not really great for an autocomplete.

最佳回答

<编码> Shift + “one to IX” isn't really specified a set of natures,因为它取决于这些组合产生何种关键组合。 如果你指的是美国标准键盘中0至9号钥匙的什叶夫阵地的特性,那么我必须承认,我从未看到过具有这种特性的人的真实名称(与nick名称相反)。 但是,我不会听说他们绝对没有名字。 昨天,我得知,文森特语的一些缩略语将“英镑”作为信函使用。 此外,人们可能使用易于获得的特性来替代他们无法轻易在关键板上生产的特性,例如使用“!”而不是“ǃ”(U+01C3拉丁字母回溯flex 点击)或“e^”而不是“收益”。

问题是,你期望通过排除某些特性而获益。 捕获类型?

问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签