Groups
Sign in
Groups
Dart Misc
Conversations
About
Send feedback
Help
Hello, can dartlang add support for chinese variable?
88 views
Skip to first unread message
Zhong Guo
unread,
Apr 4, 2016, 4:33:22 PM
4/4/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dart Misc
Hello, can dartlang add support for chinese variable?
Günter Zöchbauer
unread,
Apr 5, 2016, 2:42:36 AM
4/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dart Misc
You mean chinese symbols in variable names or in the value you assign to a variable?
I don't think chines symbols in variable names is planned.
Gen
unread,
Apr 5, 2016, 5:26:27 AM
4/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dart Misc
I do not think that the Dart Team will allow unicode for variable names.
https://groups.google.com/a/dartlang.org/forum/?fromgroups#!searchin/misc/unicode/misc/iVJOF6FABsM/DozbSLKTsJYJ
Zhong Guo
unread,
Apr 7, 2016, 4:30:00 AM
4/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dart Misc
在 2016年4月5日星期二 UTC+8下午5:26:27,Gen写道:
Because some localized project has many word that was hard to translate to english.
At least, I hope that the Enum offer unicode support:)
Günter Zöchbauer
unread,
Apr 7, 2016, 5:10:43 AM
4/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dart Misc
Just use old-style enums
http://stackoverflow.com/a/13901969/217408
and you get full flexibility and can add all features you want.
Reply all
Reply to author
Forward
0 new messages