[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #22520 [Core Tor/Tor]: Incorrect encoding for error message
#22520: Incorrect encoding for error message
--------------------------------------+------------------------------------
Reporter: Vort | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.1.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.1.2-alpha
Severity: Minor | Resolution:
Keywords: encoding windows russian | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+------------------------------------
Comment (by teor):
I wonder if this happens because our Windows builds don't -DUNICODE by
default?
Or I wonder if we are getting the wrong language ID: maybe we should just
let Windows decide for us:
{{{
If you pass in zero, FormatMessage looks for a message for LANGIDs in the
following order:
Language neutral
Thread LANGID, based on the thread's locale value
User default LANGID, based on the user's default locale value
System default LANGID, based on the system default locale value
US English
}}}
https://msdn.microsoft.com/en-
us/library/windows/desktop/ms679351(v=vs.85).aspx
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22520#comment:1>
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