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

UTF-8 is double encoded in #!vim perl #530

Open
choroba opened this issue Jan 2, 2025 · 3 comments
Open

UTF-8 is double encoded in #!vim perl #530

choroba opened this issue Jan 2, 2025 · 3 comments

Comments

@choroba
Copy link
Contributor

choroba commented Jan 2, 2025

As can be seen in 2024-12-15, UTF-8 encoded characters are displayed correctly in =begin perl, but they're double encoded in #!vim perl:

=begin perl

      ok( headerOK( $str ), "«$str» is OK" );

renders «$str» correctly, but

    #!vim perl

          debug "«$firstLine» is proper markdown ho, ho, ho";

shows as

debug "«$firstLine» is proper markdown ho, ho, ho";
@oalders
Copy link
Contributor

oalders commented Jan 2, 2025

Related to #505

@choroba
Copy link
Contributor Author

choroba commented Jan 2, 2025

Oh, I didn't check closed issues 🤡

@oalders
Copy link
Contributor

oalders commented Jan 2, 2025

Maybe it shouldn't have been closed. 😄 I guess there's an ongoing issue here. The vim syntax highlight is nice because you can choose an arbitrary language, but it sometimes does wacky things with Perl. This would all be easier if we just used Markdown, but I guess Pod is part of the charm.

If you feel inclined to send a PR with more fixes, I'm happy to merge!

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