home.social

#charset — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #charset, aggregated by home.social.

fetched live
  1. Interactive Fiction 0 – The Basics

    In this series I'm going to be talking about parser-based interactive fiction, and showing you how to develop it. There are a great number of different engines available, but I'll be focusing on two - Tads 3, and Inform 7. They're very different in a structural sense. Inform 7 uses natural language to establish a series of rules for the game, while TADS is a more traditional object oriented language that lets you define the game world as a simulation. I encourage you to explore both and […]

    mcoorlim.com/interactive-ficti

  2. Turns out, I can use `xmllint` to clean up a lot of files… this reads the file in, in whatever charset it is, pretty-prints it out in UTF-8 to a new file, then if successful, renames the new file over the old one.

    ```
    for f in *.xml; do xmllint --encode UTF-8 --format ${f} > ${f}.new && mv ${f}.new ${f}; done
    ```

    #xml #charset #xmllint

  3. Encoding Differentials: Why Charset Matters

    With a charset attribute missing, attackers can inject arbitrary JavaScript code into a website by changing the character set that the browser assumes.

    👉 thenewstack.io/encoding-differ

    #hack #http #utf8 #xss #javascript #js #attack #web #website #security #code #charset #webdev #hacking #websecurity

  4. [Перевод] Атрибут charset и важность его использования

    Какие предположения можно сделать относительно следующего HTTP ответа сервера? Глядя на этот небольшой фрагмент HTTP ответа, можно предположить, что веб-приложение, вероятно, содержит уязвимость XSS . Почему это возможно? Что обращает на себя внимание в этом ответе сервера? Вы будете правы, если сомневаетесь насчет заголовка Content-Type. В нем есть незначительный недостаток - отсутствие атрибута charset. Это может казаться неважным, однако, в этой статье мы объясним, как злоумышленники могут использовать этот недостаток для внедрения произвольного JavaScript кода на веб-сайт, сознательно изменяя набор символов , который ожидает браузер.

    habr.com/ru/articles/835206/

    #xss #http #charset #encoding #contenttype #security #security_web

  5. Today's charset encoding failure, at Starbucks Reserve Milan (drinking their olive oil poop inducing coffee that is apparently only available in this one branch)

    #unicode #umlaut #cafe #printer #charset

  6. #JavaScript #i18n #charset

    Does anyone have ideas for how to fix this "broken characters appearing" issue on the Podverse website?

    It seems like it might be related to charsets, but I don't know how to fix it...what charset should we use? Are we sure using a different charset won't break with other podcast info?

    github.com/podverse/podverse-w