Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix text garbling in Japanese #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

funwarioisii
Copy link

@funwarioisii funwarioisii commented Nov 8, 2024

What

I fix text garbling in Japanese.

Now:

irb(main):004> OpenGraph.new("https://www.youtube.com/watch?v=w1JPVRwNhaE").title
=> \u0080\u0090ã\u0081©ã\u0081\u0093è¡\u008Cã\u0081\u008Fï¼\u009Fã\u0080\u0091\u0099\u0082é\u0096\u0093以å\u0086\u0085ã\u0081«æ\u009C\u0080é«\u0098ã\u0081®çµ¶æ\u0099¯ã\u0082\u0092æ\u0092®å½±ã\u0081\u0097ã\u0081¦å¸°ã\u0081£ã\u0081¦ã\u0081\u0093ã\u0081\u0084ï¼\u0081é\u0081¸æ\u0089\u008B権"

After patched:

irb(main):003> OpenGraph.new("https://www.youtube.com/watch?v=w1JPVRwNhaE").title
=> "【どこ行く?】3時間以内に最高の絶景を撮影して帰ってこい!選手権"

--

Sorry, I'm still investigating why this happened.
However, I believe it has something to do with https://github.com/sparklemotion/nokogiri/releases/tag/v1.15.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant