• integrating weather forecast on Mystic

    From Nicola Mettimano@2:335/601 to g00r00 on Sat Feb 11 11:42:34 2023
    Hello, I am implementing an integration with wttr and Mystic but i have a problem with ANSI answer by wttr server.
    I open an issue here https://github.com/chubin/wttr.in/issues/842
    Maybe a curl decode problem?
    If i run curl command from cli the result look fine but if I save it it look very bad with strange symbols....
    Is there anything I can try in your opinion?

    -------------------------------------------------
    La violenza Š l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From Ryan Fantus@1:218/820 to Nicola Mettimano on Sat Feb 11 03:20:24 2023
    Hello, I am implementing an integration with wttr and Mystic but i have a problem with ANSI answer by wttr server.
    I open an issue here https://github.com/chubin/wttr.in/issues/842

    Hey Nicola, to me it looks like an encoding issue. I think it's outputting unicode and Mystic and Pablodraw and things like that expect cp437.

    I don't have any proposed solution for you but maybe this can help get you on the right track.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (1:218/820)
  • From Nicola Mettimano@2:335/601 to Ryan Fantus on Sat Feb 11 12:36:04 2023
    Hey Nicola, to me it looks like an encoding issue. I think it's
    outputting unicode and Mystic and Pablodraw and things like that expect cp437.

    Yes, I investigated more, you're right, i soved with a linux command:
    iconv -f UTF-8 -t CP437//TRANSLIT -c incoming.ans -o outcoming.ans

    -------------------------------------------------
    La violenza Š l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)