• integrating weather forecast on Mystic

    From Nicola Mettimano@2:335/601 to g00r00 on Sat Feb 11 09: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!


    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: Agency HUB, Dunedin - New Zealand (2:335/601@fidonet)
  • From Nicola Mettimano@2:335/601 to Ryan Fantus on Sat Feb 11 10:36:05 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!


    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: Agency HUB, Dunedin - New Zealand (2:335/601@fidonet)
  • From Ryan Fantus@1:218/820 to Nicola Mettimano on Sat Feb 11 01:20:25 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.


    --- MBSE BBS v1.0.8 (Linux-x86_64)
    * Origin: Agency HUB, Dunedin - New Zealand (1:218/820@fidonet)