WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#6092 closed defect (bug) (fixed)

Warning: mb_internal_encoding() [function.mb-internal-encoding]: Unknown encoding ""

Reported by: DD32 Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.5
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Warning: mb_internal_encoding() [function.mb-internal-encoding]: Unknown encoding "" in .../dd32/wp-settings.php on line 359

Displayed at the top of the installer on a fresh install checked out 5 minutes ago.

I used the web wp-config generator, wp-config doesnt seem to contain anything interesting.

Attachments (2)

6092.diff (716 bytes) - added by tenpura 6 years ago.
Use UTF-8 if get_option('blog_charset') is empty.
6092-2.diff (492 bytes) - added by tenpura 6 years ago.

Download all attachments as: .zip

Change History (7)

tenpura6 years ago

Use UTF-8 if get_option('blog_charset') is empty.

comment:1 tenpura6 years ago

  • Keywords has-patch added; needs-patch removed

comment:2 ryan6 years ago

Also need to make sure blog_charset has a valid encoding.

tenpura6 years ago

comment:3 tenpura6 years ago

How is 6092-2.diff?
It checks validity of blog_charset and sets UTF-8 if invalid.

comment:5 ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [7157]) Fallback to UTF-8 if not valid mb_internal_encoding. Props tenpura. fixes #6092

Note: See TracTickets for help on using tickets.