[Python-ideas] Input characters in strings by decimals (Was: Proposal for default character representation)
Mikhail V
mikhailwas at gmail.com
Thu Dec 8 11:06:39 EST 2016
On 8 December 2016 at 15:46, Alexandre Brault <abrault at mapgears.com> 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 a competing syntax will make it harder for others to read.
>> There were links to such table in previos discussion. Googling
>> "unicode table decimal" and
>> first link will it be.
>> I think most online tables include decimals as well, usually as tuples
>> of 8-bit decimals.
> The fact that you need to specify "unicode table *decimal*" in your
> search, and that even then around half of the top results give the table
> in hex, to me illustrates quite well how much of a minority opinion
> "writing unicode characters in decimal is more logical" is
No I don't need to specify "unicode table *decimal*".
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
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 historical, nothing to do with "logical". There is
just tendency
to repeat what majority does and not always it is good, this case
would be an example.
More information about the Python-ideas
mailing list