Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19814 > unrolled thread

Re: Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-02-02 19:26 -0500
Last post2012-02-02 19:26 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#19814 — Re: Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.

FromTerry Reedy <tjreedy@udel.edu>
Date2012-02-02 19:26 -0500
SubjectRe: Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.
Message-ID<mailman.5381.1328228805.27778.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web