Coder Social home page Coder Social logo

Comments (2)

hsivonen avatar hsivonen commented on August 12, 2024

I'm not against this.

However, if we're adding more labels, I think there's probably more opportunity for benefit from supporting Java 1 encoding names. See https://searchfox.org/comm-central/source/mailnews/intl/charsetalias.properties and the java.io column at https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html

Particular categories of labels that are relevant to consider:

  • ISO-8859 series labels of the form iso8859_N where N is the part number, e.g. iso8859_1.
  • Code pages shared by Windows and DOS with the ms prefix. Of these, ms932 was already added as an ad hoc special case.
  • Code pages shared by Windows and DOS with the cp prefix.
  • Underscore versions of Unix CJK encodings: euc_cn, big5_hkscs, etc. My vague recollection is that Presto-era Opera found EUC_JP not to be Web-compatible due to Shift_JIS content labeled as EUC_JP. However, it's been long enough that my memory may be generating false recollections of Web compat problems.

from encoding.

annevk avatar annevk commented on August 12, 2024

https://annevankesteren.nl/2009/09/web-character-encodings agrees with your memory. The fact that no user agent ships those today makes me a bit more hesitant as it would probably require a lot more research than adding this single label to Gecko. Having said that, I'm not opposed if someone is willing to drive that effort.

from encoding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.