Skip to content

Encoding declaration have been written in several ways #4347

@makky3939

Description

@makky3939

From the react/examples:

Encoding is declared as described below. In the 9 files.

https://github.com/facebook/react/blame/master/examples/basic-jsx-external/index.html#L4
<meta http-equiv='Content-type' content='text/html; charset=utf-8'>

However, in another example it has been declared in another writing.

https://github.com/facebook/react/blob/master/examples/jquery-mobile/index.html#L4
<meta charset="utf-8">

I think that we should unify to the latter way. In HTML5, it is possible to provide a short code by using the charset attribute.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions