[tor-bugs] #27380 [Core Tor/Tor]: require torrc to be UTF-8

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 12 01:45:13 UTC 2018


#27380: require torrc to be UTF-8
---------------------------------+------------------------------------
 Reporter:  cyberpunks           |          Owner:  (none)
     Type:  defect               |         Status:  needs_information
 Priority:  Medium               |      Milestone:  Tor: 0.4.0.x-final
Component:  Core Tor/Tor         |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:  rust-wants, prop285  |  Actual Points:
Parent ID:  #24033               |         Points:
 Reviewer:  dgoulet              |        Sponsor:
---------------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:23 dgoulet]:
 > Replying to [comment:21 teor]:
 > > Do you mean the ContactInfo?
 >
 > Yes I think I've mistaken the previous comment using "username". Rather
 `ContactInfo` and I'm guessing paths would need to be UTF-8?

 At the moment, Windows paths need to be encoded in the default codepage,
 because we don't use UTF-8 file APIs on Windows.

 macOS HFS+ and later support UTC-8, I have no idea about Linux or BSD.

 > If we only err for that, we don't need this branch/ticket imo.

 We might eventually want this ticket for Rust parsing torrc. But we'll
 have to implement a workaround for non-UTF-8 torrcs in Rust anyway. So I
 don't think this ticket is needed at the moment.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27380#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list