mathworks / mathworks/Emacs-MATLAB-Mode

matlab-shell-run-code-section has ha problem with UTF8/latin1

Open
#25 12 comments 0 reactions 1 assignee View on GitHub

@JohnC32 is already working on this.

Since May 23, 2025.

bug
Dominant language
Emacs Lisp
Stars
26
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Please consider the following trivial .m file called example.m

%% 
fprintf('* Paso 2: Calculamos la región de aceptación $R_A$.\n\n')

What works

  1. I open matlab indenpendent from emacs, and fire this command in the command line. Everything works
  2. I open emacs start matlab, matlab-shell the command example.m, everything works
  3. I run in the shell
    fprintf('* Paso 2: Calculamos la región deaceptación $R_A$.\n\n')
    the non ASCII symbols are not displayed!
  4. I run in the file matlab-shell-run-code-section
    and again, the ASCII symbols are not displayed.
  5. matlab-shell-save-and-go on hte other hand works

Uwe

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.