[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #21932 [Metrics/metrics-lib]: Stop relying on the platform's default charset



#21932: Stop relying on the platform's default charset
---------------------------------+-----------------------------------
 Reporter:  karsten              |          Owner:  metrics-team
     Type:  defect               |         Status:  needs_information
 Priority:  Medium               |      Milestone:
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------
Changes (by iwakeh):

 * status:  needs_review => needs_information


Comment:

 This ticket doesn't only address becoming independent of platform charset
 settings (which is good), but it also suggests switching from ASCII to
 UTF8.
 In many places metrics-lib currently reads also writes US-ASCII.  As far
 as the (gruesome) charset topics go, UTF8 should be a superset of ASCII.
 Starting to read and write descriptors consistently in utf8 should work
 and would be good also to accommodate some of the character in names and
 other user configurable descriptor fields.  In general, the proposed
 change seems fine.

 Is it also intended to only let metrics-lib write utf8 files with the
 proposed changes?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21932#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs