linuxserver / docker-nzbhydra2

GNU General Public License v3.0
69 stars 15 forks source link

[BUG] File encoding issue - reported as ANSI_X3.4-1968 #41

Closed theotherp closed 1 year ago

theotherp commented 1 year ago

Is there an existing issue for this?

Current Behavior

NZBHydra is unable to handle unicode results when running in your container. The reported file encoding is "ANSI_X3.4-1968" while on my machine and on a simple self-built image it's UTF-8.

Expected Behavior

UTF-8 should be used.

ENV LANG=en_US.utf8 may help, can't test as on my image UTF-8 is used.

Steps To Reproduce

  1. Run hydra and jackett
  2. Add nyaa.si as tracker in jackett
  3. Add the torznab tracker in hydra
  4. Make a torznab request in hydra using view-source:http://localhost:5078/torznab/api?t=tvsearch&cat=5030,5040,5000&extended=1&apikey=YOURAPIKEY&offset=0&limit=100&q=avc&season=1

Alternatively in hydra in the system section create debug infos. The log should report "File encoding: ANSI_X3.4-1968"

Environment

- OS: Windows 10 and Ubuntu
- How docker service was installed: docker compose

CPU architecture

x86-64

Docker creation

Default compose from your page

Container logs

2023-02-05T14:12:28.371828860Z [migrations] started
2023-02-05T14:12:28.371846694Z [migrations] no migrations found
2023-02-05T14:12:28.396840958Z Logging wrapper output to /config/logs/wrapper.log
2023-02-05T14:12:28.396851558Z 2023-02-05 14:12:28,396  INFO - Determined release type: native
2023-02-05T14:12:28.396853391Z 
2023-02-05T14:12:28.396854614Z -------------------------------------
2023-02-05T14:12:28.396855736Z           _         ()
2023-02-05T14:12:28.396856888Z          | |  ___   _    __
2023-02-05T14:12:28.396857930Z          | | / __| | |  /  \
2023-02-05T14:12:28.396859142Z          | | \__ \ | | | () |
2023-02-05T14:12:28.396860204Z          |_| |___/ |_|  \__/
2023-02-05T14:12:28.396861296Z 
2023-02-05T14:12:28.396862328Z 
2023-02-05T14:12:28.396863400Z Brought to you by linuxserver.io
2023-02-05T14:12:28.396864583Z -------------------------------------
2023-02-05T14:12:28.396866957Z 
2023-02-05T14:12:28.396868029Z To support the app dev(s) visit:
2023-02-05T14:12:28.397208880Z NZBHydra 2: https://github.com/theotherp/nzbhydra2#donate
2023-02-05T14:12:28.397335472Z 
2023-02-05T14:12:28.397347465Z To support LSIO projects visit:
2023-02-05T14:12:28.397364932Z https://www.linuxserver.io/donate/
2023-02-05T14:12:28.397367206Z -------------------------------------
2023-02-05T14:12:28.397368599Z GID/UID
2023-02-05T14:12:28.397369671Z -------------------------------------
2023-02-05T14:12:28.398369370Z 
2023-02-05T14:12:28.398376363Z User uid:    1000
2023-02-05T14:12:28.398378046Z User gid:    1000
2023-02-05T14:12:28.398379258Z -------------------------------------
github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity