From 344fa36b343c22218059d31d6303da6294cbe801 Mon Sep 17 00:00:00 2001 From: jeangeorge Date: Tue, 13 Jun 2023 14:58:13 +0200 Subject: [PATCH] doc: about UTF-8 support on Windows --- doc/vimtex.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 85a99899d2..87c9be5c54 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -6082,10 +6082,21 @@ A: Yes. But there are some "gotchas": * VimTeX does not work well with the 'shell' setting set to Windows PowerShell. It is therefore recommended to use the default 'shell' settings. See [2] for more information. + * |:VimtexInfo| might fail on the first attempt to run because Windows + doesn't natively support UTF-8. This support can be enabled by : + - navigating to `Control Panel/Clock and Region/Region`, + - going to the `Administrative` tab and clicking on the + `Change system locale` button, + - checking the box for `Use Unicode UTF-8 for worldwide language support`. + See also [3]. + Note that this Windows feature is still in Beta and could cause side + effects on other programs. Use it with care and revert the process if you + encounter more trouble. [0]: https://strawberryperl.com/ [1]: https://www.rapidee.com/en/path-variable [2]: https://github.com/lervag/vimtex/issues/1507 + [3]: https://github.com/lervag/vimtex/issues/2671 ------------------------------------------------------------------------------ *vimtex-faq-neovim*