# How Can I read non-ascii FileNames from pvpython

**URL:** <https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121>\
**Category:** ParaView Support\
**Tags:** python\
**Created:** [December 5, 2019, 8:32am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121 "2019-12-05T08:32:51Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [April 14, 2020, 3:19am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/21 "2020-04-14T03:19:32Z")

</div>

@todoooo : ParaView master does not build against an official release of VTK.

A simple debug steps for this issue would be to bisect it with ParaView.

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [April 14, 2020, 3:24am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/22 "2020-04-14T03:24:14Z")

</div>

@mwestphal Bisect it? I’m not sure what you mean.

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [April 14, 2020, 3:26am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/23 "2020-04-14T03:26:24Z")

</div>

It was a generic statement, not intended specifically for you.

In any case, since this is a regression and it used to work before, by [bisecting](https://git-scm.com/docs/git-bisect) we could identify which commit breaks it.

Do not hesitate to open another topic for your build issues.

---

<div class="post-metadata">

**Author:** ![ymjia](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/ccd318/32.png) [@ymjia](https://discourse.paraview.org/u/ymjia)\
**Post date:** [May 9, 2020, 4:14am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/24 "2020-05-09T04:14:19Z")

</div>

@mwestphal @todoooo @ben.boeckel  
Hi guys, glad to tell you that this issue can be solved thank to win10 utf8 setting mentioned by @todoooo .  
Follow the instruction from [here](https://docs.microsoft.com/en-us/windows/uwp/design/globalizing/use-utf8-code-page)  
Here is my process:

1. Save Fusion manifest to file “paraview.exe.manifest”, change property ‘name’ of element “assemblyIdentity” to “paraview”
2. Find “mt.exe” in windows kit dir(e.g. C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\mt.exe)
3. run command  
mt.exe -manifest paraview.exe.manifest -outputresource: path-to-paraview.exe

After these operations, 2 issue above solved:

1. paraview5.8 can read file with non-ascii path
2. pvpython can read file with non-ascii path

---

<div class="post-metadata">

**Author:** ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)\
**Post date:** [May 9, 2020, 5:39am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/25 "2020-05-09T05:39:48Z")

</div>

@ymjia Thanks for the feedback!

This fix won’t be needed in Paraview 5.9, but I’m glad it solved your immediate problem.

---

<div class="post-metadata">

**Author:** ![henry\_zhang](https://discourse.paraview.org/user_avatar/discourse.paraview.org/henry_zhang/32/3764_2.png) [@henry\_zhang](https://discourse.paraview.org/u/henry_zhang)\
**Post date:** [May 18, 2020, 2:52pm UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/26 "2020-05-18T14:52:07Z")

</div>

Thanks a lot for your instruction. I have tested on Win10 1909 version and ParaView 5.8 these 3 steps work indeed. There is my paraview.exe.manifest screenshot and 3rd command: mt.exe -manifest D:\paraview.exe.manifest -outputresource:D:\ParaView-5.8.0-Windows-Python3.7-msvc2015-64bit\bin\paraview.exe

I want to post the manifest code provided by Ym Jia, but there might be some thing wrong with my browser that the code can’t display entirely. So I can just post the screenshot if it can help.

 ![图片](https://discourse.paraview.org/uploads/default/original/2X/2/28e1f20efd2dcc5d77142510e939dfacd643fdf4.png)

---

<div class="post-metadata">

**Author:** ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)\
**Post date:** [May 19, 2020, 1:58am UTC](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121/27 "2020-05-19T01:58:03Z")

</div>

Please do not post image of code.  
[https://idownvotedbecau.se/imageofcode](https://idownvotedbecau.se/imageofcode)

[Previous page](https://discourse.paraview.org/t/how-can-i-read-non-ascii-filenames-from-pvpython/3121.md?page=1)
