On 7 December 2016 at 23:52, Mikhail V wrote:
> Proposal: I would want to have a possibility to input it *by decimals*:
>
> s = "first cyrillic letters: \{1040}\{1041}\{1042}"
> or:
> s = "first cyrillic letters: \(1040)\(1041)\(1042)"
>
> =
>
> This is more compact and seems not very cont
FYI you can also get a character by its name:
>>> import unicodedata
>>> unicodedata.name(chr(1040))
'CYRILLIC CAPITAL LETTER A'
>>> "\N{CYRILLIC CAPITAL LETTER A}"
'А'
Victor
2016-12-08 0:52 GMT+01:00 Mikhail V :
> In past discussion about inputing and printing characters,
> I was proposing dec
On 2016-12-07 09:07 PM, Mikhail V wrote:
> On 8 December 2016 at 01:57, Nick Timkovich wrote:
>>> hex notation not so readable and anyway decimal is kind of standard way to
>>> represent numbers
>>
>> Can you cite some examples of Unicode reference tables I can look up a
>> decimal number in? They
On 8 December 2016 at 15:46, Alexandre Brault wrote:
>>> Can you cite some examples of Unicode reference tables I can look up a
>>> decimal number in? They seem rare; perhaps in a list as a secondary column,
>>> but they're not organized/grouped decimally. Readability counts, and
>>> introducing
> From: Mikhail V
> Sent: Thursday, December 08, 2016 11:07 AM
> Subject: Re: [Python-ideas] Input characters in strings by decimals (Was:
> Proposal for default character representation)
> No I don't need to specify "unicode table *decimal*".
>
> Results for "unicode table" in google:
>
> Top Re
On Fri, Dec 9, 2016 at 3:06 AM, Mikhail V wrote:
> Results for "unicode table" in google:
>
> Top Result # 2:
> www.utf8-chartable.de/
>
> Top Result # 4:
> http://www.tamasoft.co.jp/en/general-info/index.html
Both of those show hex first, and decimal as an additional feature.
> Some sites does
On Thu, Dec 8, 2016, at 11:06, Mikhail V wrote:
> Some sites does not provide any code conversion, but everybody can
> do it easily, also I don't have problems generating a table
> programmatically.
> And I hope it is clear why most people stick to hex (I never argued that
> BTW), but it is mostly
The Unicode Consortium reference entirely lacks decimal values in all their
tables. EVERYTHING is given solely in hex. I'm sure someone somewhere had
created a table with decimal values, but it's very rare.
We should not change Python syntax because exactly one user prefers decimal
representations
On 8 December 2016 at 17:52, Chris Angelico wrote:
> In the first place, many people have pointed out to you that Unicode
> *is* laid out best in hexadecimal.
Ok if it is aligned intentionally on binary grid obviously
hex numbers will show some patterns, but who argues?
And to be fair, from my
On Fri, Dec 9, 2016 at 5:37 AM, Mikhail V wrote:
>> You have to show
>> that decimal isn't just marginally better than hex; you have to show
>> that there are situations where the value of decimal character
>> literals is so great that it's worth forcing everyone to learn two
>> systems. And I'm n
On 8 December 2016 at 19:45, Chris Angelico wrote:
> At the moment, you're showing
> minor advantages to decimal, and other people are showing minor
> advantages to hex; but IMO nothing yet has been strong enough to
> justify the implementation of a completely new way to do things -
> remember, p
11 matches
Mail list logo