Skip to content

Non english characters (Korean) encoding is broken #3479

Closed
@say8425

Description

@say8425

cypress-screenshot
Hello. My cypress test is works very well in local. But on the CircleCI, all of non english characters(Korean, hangul, 한글) are broke out. So I change browser from electron to chrome69 browser but it was broke out again. Is this issue caused by the CircleCI machine? or Cypress Orb browser? Thanks.

Activity

jennifer-shehane

jennifer-shehane commented on Feb 15, 2019

@jennifer-shehane
Member

Hey @say8425, could you provide a reproducible example?

When I paste in these characters, I am able to see them render in Electron and Chrome, so I cannot reproduce.

Do you have use any special encoding on the html?
Do you have the proper fonts installed on your container?

bahmutov

bahmutov commented on Feb 15, 2019

@bahmutov
Contributor

I think this is the problem with fonts missing on Linux

junghanChoi

junghanChoi commented on Apr 10, 2019

@junghanChoi

Some Korean web pages uses euc-kr Encoding.
I visited "https://news.naver.com" using cypress.
The encoding was broken.
"https://www.naver.com" is fine.
at naver.com, I clicked a text link to news.naver.com. and then it stucked at page load status.
"https://m.news.naver.com" is also fine.

jennifer-shehane

jennifer-shehane commented on Apr 18, 2019

@jennifer-shehane
Member

Thank you @junghanChoi, this site does exhibit the problem with the encoding.

<meta charset="euc-kr">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script type="text/javascript" src="..." charset="euc-kr"></script> // some scripts
content-language: ko-KR
content-type: text/html;charset=EUC-KR

Visiting https://news.naver.com/ within Cypress browser (any browser)

Screen Shot 2019-04-18 at 2 00 12 PM

Visiting https://news.naver.com/ outside of Cypress

Screen Shot 2019-04-18 at 2 00 01 PM

Haven't tracked down what the difference is. I do see some of the Request headers in a different caps within Cypress vs outside.

changed the title [-]Non english characters are broken[/-] [+]Non english characters (Korean) encoding is broken[/+] on Apr 18, 2019
junghanChoi

junghanChoi commented on Apr 25, 2019

@junghanChoi

Is it possible to add supported language of chrome runner in cypress?
I tried to add Korean in language setting in the chrome which opened by cypress. But It seemed not possible.

self-assigned this
on Jul 12, 2019
cypress-bot

cypress-bot commented on Jul 15, 2019

@cypress-bot
Contributor

The code for this is done in cypress-io/cypress#4698, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

cypress-bot

cypress-bot commented on Jul 29, 2019

@cypress-bot
Contributor

Released in 3.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @flotwig@jennifer-shehane@bahmutov@say8425@junghanChoi

    Issue actions

      Non english characters (Korean) encoding is broken · Issue #3479 · cypress-io/cypress