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

Uncorrect characters displayed in changelog #100

Open
aphedges opened this issue May 23, 2024 · 2 comments
Open

Uncorrect characters displayed in changelog #100

aphedges opened this issue May 23, 2024 · 2 comments

Comments

@aphedges
Copy link

aphedges commented May 23, 2024

I was reading the changelog for 3.5.0 in Firefox (https://iterm2.com/downloads/stable/iTerm2-3_5_0.changelog), and I noticed the text ⋯, which clearly looks like an encoding problem. I checked the line in the repository, which displays it as :

1Password rather than the keychain. Use the (⋯)

I'm not 100% sure how to solve this, but I suspect that Firefox defaults to a non-UTF-8 encoding when one is not specified. This can probably be solved if you set the Content-Type header. A value like Content-Type: text/plain; charset=utf-8 would probably solve the problem, but I don't have a good way of testing this.

@gnachman
Copy link
Owner

I fought with Apache for a while but I can't get it to set the character set to UTF-8 for some reason. I put this in the .htaccess file:

AddCharset UTF-8 .changelog

but it had no effect. It does respect the redirects there so I know it's reading it.

@aphedges
Copy link
Author

aphedges commented Jun 1, 2024

I have no clue, either. I have no experience with Apache httpd at all. However, I found two things that might help:

I tried to test both of these locally, but I couldn't figure out how to properly set up this site on my machine.

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

No branches or pull requests

2 participants