On Tuesday, July 21, 2015 at 9:13:49 AM UTC+5:30, Chris Angelico wrote: > On Tue, Jul 21, 2015 at 1:30 PM, Rustom Mody wrote: > > BTW my boys have just mailed me their latest: > > > >>>> 九.九九 > > > > 9.99 > > > > Can some unicode/Chinese literate person inform me whether > > that ideograph is equivalent to roman '9' or roman 'nine'? > > I'm not Chinese-literate, but I know how to dig up info from the > Unicode side of things. > > '\u4e5d' CJK UNIFIED IDEOGRAPH-4E5D > > Thanks, very helpful. > > Perhaps slightly more useful: > > https://en.wiktionary.org/wiki/%E4%B9%9D > > But it still doesn't disambiguate digit vs word. > > Playing around with Google Translate suggests that it functions mostly > like a digit; 九九 means "Ninety-nine" and 九八 means "Ninety-eight". But > I'll leave further confirmation to someone who fits your second > description. > > ChrisA
Well Cant make much sense of it: >>> import unicodedata as ud >>> ud.numeric('२') 2.0 >>> ud.category('२') 'Nd' >>> ud.numeric('九') 9.0 >>> ud.category('九') 'Lo' >>> -- https://mail.python.org/mailman/listinfo/python-list