Loading

Making Extension for Python is easier than PHP especially Unicode Program with C/C++

Making Extension for Python is easier than PHP especially Unicode Program with C/C++

Well, Its take my two holidays to get working Unicode related program on php.

In python, only need gcc or g++ and working great.

but php (tested on php5.2.9), mainly accept the type *char* and need extra library to convert to *wchar_t* type. so I have to write my own unicode-utf8 conversion, escape functions and parsing functions.
And need the program *phpize* to generate configure scripts,
Its only on php source and you need to compile php.
And to compile php,will need very very big library *libxml2* source and compile, its take more time than compiling php.
for C program thats all, but for C++ seems need extra information, I still dont sucess running C++ programs for PHP yet. but its ok so far for me. :-)

Well, I think its still worth to do it :-)

Soe Min

No comments:

က်ေနာ္ဖတ္ေသာ အျခား ဘေလာ့ / ဆိုဒ္မ်ား