Hello, can dartlang add support for chinese variable?

88 views
Skip to first unread message

Zhong Guo

unread,
Apr 4, 2016, 4:33:22 PM4/4/16
to Dart Misc
Hello, can dartlang add support for chinese variable?

Günter Zöchbauer

unread,
Apr 5, 2016, 2:42:36 AM4/5/16
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 AM4/5/16
to Dart Misc

Zhong Guo

unread,
Apr 7, 2016, 4:30:00 AM4/7/16
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 AM4/7/16
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