CarolinaSGomes / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
0 stars 0 forks source link

why the chanel name must be english? #94

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
the channel name must be English!

if I wang to built a channel  name by chinese~,there will be a error!

i hope you can change it!

Original issue reported on code.google.com by myyako...@gmail.com on 20 Apr 2009 at 12:11

GoogleCodeExporter commented 8 years ago
Can you add an example of a non-english channel name that you would like to be 
supported?

Original comment by adewale on 20 Apr 2009 at 11:05

GoogleCodeExporter commented 8 years ago
One way to handle the performance impact of changing the regex used to identify
channels would be to make a flag in settings.py: UNICODE_CHANNEL_NAMES

By default it would use an ASCII regular expression but if the flag were set 
then we
could use a more expensive test that handled Unicode channel names. This would
require someone to work out what a valid set of Unicode channel names would look
like. This would also have to take into account the fact that a channel name 
must
still result in a valid url.

Original comment by adewale on 7 May 2009 at 8:03

GoogleCodeExporter commented 8 years ago
this could be a bit of a tricky one to solve as I'm not sure how many things 
down the
chain will be affected by non-ascii channel names, still it seems like 
something we
should support

Original comment by andyster on 19 May 2009 at 1:18

GoogleCodeExporter commented 8 years ago
What about translating the channel name to Punycode. It is used already for  
the 
internationalized domain names.

For example: 例子.测试/ is translated to: http://xn--fsqu00a.xn--0zwm56d/

the xn- prefix let's you know it is an international domain.

http://en.wikipedia.org/wiki/Punicode

Original comment by kugutsu...@gmail.com on 28 Dec 2009 at 12:53