Skip to content

incompatible character encodings: ASCII-8BIT and UTF-8 #935

@warbot

Description

@warbot

Rails 3.2.6, Ubuntu; After switch from 171 to 174 start receiving exception:
'incompatible character encodings: ASCII-8BIT and UTF-8' through the app;

One of the cases, tmp.html.erb:

<%
str = "始"
str.encoding   #=> UTF-8
str.html_safe  #=> exception: 'incompatible character encodings: ASCII-8BIT and UTF-8'
%>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions