CC-2747: When metadata contains non utf-8 encoding, we should handle it

- we cover some cases with cp1252 encoding for now.
- extra fix: Logging.php (copied from 2.0.0)
This commit is contained in:
James 2011-08-31 14:46:21 -04:00
parent 982c8f9c20
commit 22c9416c31
2 changed files with 47 additions and 3 deletions

View file

@ -16,4 +16,9 @@ class Logging {
public static function setLogPath($path){
self::$_path = $path;
}
public static function log($p_msg){
$logger = self::getLogger();
$logger->info($p_msg);
}
}