From: Max B. <mb...@rg...> - 2005-05-25 12:59:01
|
Hello Hayssam. There's two possible way to solve this problem. First is faster, but second's better :) 1. As I remember, ISO-8859-1 is the same thing as cp1252, so there's cp1252 map file in usr/system/utf/ folder. So, you can just specify CP1251 instead of ISO-8859-1 or rename map file. 2. And the second way. UFT8 converter class used only if php compliled without iconv extension. Using iconv is recommended, because iconv fuctions work much faster than their replacement written in php (utf8 converter class). What you need to install iconv extension: You will need nothing if the system you are using is one of the recent POSIX-compliant systems because standard C libraries that are supplied in them must provide iconv facility. Otherwise, you have to get the libiconv (http://www.gnu.org/software/libiconv/) library installed in your system. Installation To use functions provided by this module, the PHP binary must be built with the following configure line: --with-iconv[=DIR]. HZ> Hey Folks, HZ> I just joined the list so I hope it hasn't been asked before. HZ> I just installed the newest beta (sapid_v123_050525) and there seems HZ> to be a bug, but maybe I am this bug ;-) So I really need some help HZ> here. HZ> After successful installation (the manual way) I get: HZ> Warning: fopen(/Library/WebServer/Documents/usr/system/utf/ HZ> ISO-8859-1.MAP): failed to open stream: No such file or directory in / HZ> Library/WebServer/Documents/usr/system/utf/utf8.class.php on line 77 HZ> ERR_OPEN_MAP_FILE : Error openning file: /Library/WebServer/Documents/ HZ> usr/system/utf/ISO-8859-1.MAP. HZ> So it seems that SAPID is looking for /Library/WebServer/Documents/ HZ> usr/system/utf/ISO-8859-1.MAP. This file is not in any folder (not HZ> that I could see) and not in sapid123beta050406a. HZ> I am on Mac OS X 10.4.1 with the buit-in php and apache enabled. HZ> Best regards, HZ> Hayssam -- Sincerely, Max Baryshnikov, developer |