Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add regexp for Japanese and Korean nicknames. #408

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add regexp for Japanese and Korean nicknames. #408

wants to merge 2 commits into from

Conversation

leeopop
Copy link

@leeopop leeopop commented Sep 15, 2015

Some IRC servers support unicode, and even for nicknames.
The message handler receives an 'undefined' sender name if its name contains unicode characters.

I tried to add all non-special unicode characters,
but I couldn't find any better ways than adding character range manually.

Also, I wander why there is a trailing '-' inside the [] block.
Isn't '-' implies character ranges?

Sorry for some incomplete opinions.
(This is my first time doing with js:)

@moshmage
Copy link

And as per the RFC Nicknames can't start with numbers, only letters or special chars [which I'm not certain of which]
nickname = ( letter / special ) *8( letter / digit / special / "-" )
@leeopop turns out that "missing" dash is on the rfc ;)

@simnalamburt
Copy link

+1 For this PR. If current IRC spec does not support CJK nicknames, why don't we at least opt-in this feature?

@Corea
Copy link

Corea commented Mar 21, 2017

+1 for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants