Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19814
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars. |
| Date | 2012-02-02 19:26 -0500 |
| References | <CAF4f3cPTB7+KQ+p3yzuzDyPFKpaX4aAE9Hnr+pRXa8BXP7rUAA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5381.1328228805.27778.python-list@python.org> (permalink) |
On 2/2/2012 6:37 PM, Сергей Владимирович wrote: > Hello. Please help me to import python module in my application that > has python 2.7.2 embeded. > I tried example from this link > http://docs.python.org/extending/embedding.html#embedding-python-in-c > paragraph 5.3. > If i place program in folder D:\temp\test_python\test_pythonævnes > på\Debug I will get error - Failed to load "multiply". > My localization settings (system language) don't correspond the chars' > language used in path. Easiest is to change your folder name to all ascii. This sort of thing will work better in future 3.x, but even then, a mismatch between encodings is a problem. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars. Terry Reedy <tjreedy@udel.edu> - 2012-02-02 19:26 -0500
csiph-web