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

Categories set the Chinese language garbled #166

Closed
ghost opened this issue Apr 25, 2017 · 8 comments
Closed

Categories set the Chinese language garbled #166

ghost opened this issue Apr 25, 2017 · 8 comments
Labels
bug Something isn't working
Milestone

Comments

@ghost
Copy link

ghost commented Apr 25, 2017

Hello, I really like the template you made!
But when I set the category for the Chinese language will appear garbled!

/content/post/xxx.md:
step1

Show results:
step2

At present my approach is as follows:

modify hugo-tranquilpeak-theme/layouts/partials/internal/recursive-categories-1.html

step3

But the updated version still needs to be modified.

Is there a better way to solve this problem?

Please help me, thanks!

@kakawait kakawait added the bug Something isn't working label Apr 26, 2017
@kakawait kakawait added this to the 0.4.0-BETA milestone Apr 26, 2017
@kakawait
Copy link
Owner

Thank you for reporting I will fix it asap

@codingwesley
Copy link

I have same problem @kakawait
image

@ghost
Copy link
Author

ghost commented May 7, 2017

@quietwind @sdevil507 though I don't want to speak for @kakawait, I do want to mention he has done a tremendous job providing this theme and I feel it would be great if either of you could take this issue to PR to help advance the theme.

@ghost
Copy link
Author

ghost commented May 8, 2017

@JHabdas Yeah, you're right.It's really a great project.We should take part in it instead of just asking questions!

@kakawait I found that this is not a problem with your template.
The problem is that we use the MAC OS X.
This problem should be a file encoding problem.
NFC is used in most cases, but in Mac OS's HFS+ file system, normalized to NFD.
I guess it is caused by this problem.
categories-with-accented-characters
gohugoio/hugo#2203

@quietwind I hope to help you!

@ghost
Copy link
Author

ghost commented May 8, 2017

I found that this is not a problem with your template.

If there's no problem with the theme, please kindly close this issue.

@ghost ghost closed this as completed May 8, 2017
@ghost
Copy link
Author

ghost commented May 8, 2017

❤️

@kakawait
Copy link
Owner

kakawait commented May 9, 2017

Sorry I was on vacancies. Nice to heard that you find your problem :)

@ghost
Copy link
Author

ghost commented May 9, 2017

Sorry I was on vacancies.

How dare you. LOL

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants