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

use UTF-8 encoding for (load path) #138

Merged
merged 1 commit into from May 26, 2019

Conversation

Projects
None yet
2 participants
@ArneBab
Copy link
Contributor

commented May 24, 2019

Fixes an encoding issue. To reproduce:

#+title: minimal working example
#+HTML_HEADER: <meta charset="utf-8" />

MWE (also needs mwe.scm):

#+BEGIN_EXPORT HTML
    <p><span id="result"> &nbsp; </span></p>
    <script src="biwascheme.js">
      (load "mwe.scm")
      (set-content! "#result" (umlauts))
    </script>
#+END_EXPORT

#+begin_src scheme :tangle mwe.scm
(define (umlauts)
  "äöüß")
#+end_src
use UTF-8 encoding for (load path)
Fixes an encoding issue. To reproduce:

#+title: minimal working example
#+HTML_HEADER: <meta charset="utf-8" />

MWE (also needs mwe.scm):

#+BEGIN_EXPORT HTML
    <p><span id="result"> &nbsp; </span></p>
    <script src="biwascheme.js">
      (load "mwe.scm")
      (set-content! "#result" (umlauts))
    </script>
#+END_EXPORT

#+begin_src scheme :tangle mwe.scm
(define (umlauts)
  "äöüß")
#+end_src

@yhara yhara merged commit 98c7ded into biwascheme:master May 26, 2019

@ArneBab

This comment has been minimized.

Copy link
Contributor Author

commented May 26, 2019

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.