Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Website charset issues #35

@Pecon

Description

@Pecon

Looks like you guys have the database set to latin1 so that it'll properly store and reproduce characters for Blockland to read. Unfortunately, the frontend site is set to utf-8; and the characters are read from the database as-is, and as such are single-byte encoded. This causes the characters to show up as random glyphs. The solution to this is to either have php do:

$text=mb_convert_encoding($text, "UTF-8", "Windows-1252");

Or set the charset meta tag of all the pages to ISO-8859-1 (closest supported set). Obviously, converting from php would probably be the best solution, but setting the page charset should also be an acceptable solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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