Message13908
| Author |
lemburg |
| Recipients |
| Date |
2003年01月06日.12:17:28 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Found by Hartmut Ring:
#include <Python.h>
int main() {
for (int i=0; i<2; i++) {
Py_Initialize();
PyRun_SimpleString("a = u'\xe4'.encode('Latin-1')");
Py_Finalize();
}
return 0;
}
First try runs fine, second try gives:
Traceback (most recent call last):
File "<string>", line 1, in ?
LookupError: no codec search functions registered:
can't find encoding
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:09:51 | admin | link | issue663074 messages |
| 2007年08月23日 14:09:51 | admin | create |
|