"Default hub encoding" isn't respected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LinuxDC++ |
Fix Released
|
Medium
|
Steven Sheehy |
Bug Description
When I've set the "Default hub encoding" setting, for example to "CP1252 (Western Europe)" (in my case), this is not respected when joining a new hub with the Connect button or adding a hub to favorites by "/fav" in the message field.
I'm on Ubuntu 8.10, using version "1.0.2+cvs" of LinuxDC++ aaaand seems like I compiled it on 2008-11-10 (Nov. 10th).
Expected behavior:
Choosing a Default hub encoding should also be reflected in the encodings chosen when connecting to hubs with the Connect button and when adding favorite hubs with "/fav".
Actual results:
... seem to be that the system defaults are chosen -- UTF-8 in my case, which I assume is either the system default or a hard-coded default.
Related branches
Changed in linuxdcpp: | |
assignee: | David Grundberg (individ) → Steven Sheehy (steven-sheehy) |
milestone: | none → 1.1.0 |
status: | In Progress → Fix Committed |
Changed in linuxdcpp: | |
status: | Fix Committed → Fix Released |
tags: | added: charset favorite-hubs ui |
Haven't noticed this behavior before. Default encoding should be used when connecting via connect button. Favorite hubs use their own encoding settings (defined in fav. hub properties), which I guess by default is set to System Default (UTF-8 on most systems?).
In my opinion the System default in favorite hubs should be replaced by "Default encoding" which would follow the encoding set in the preferences. System default almost always is a wrong choice (as it often is UTF8 and that won't work in NMDC hubs)
--RZ