View Issue Details

IDProjectCategoryView StatusLast Update
0004016OXID eShop (all versions)1.09. Integrations: Facebook, Trusted Shops, Shop lupe, Econdapublic2012-12-11 08:47
Reportermichael_keiluweit Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.6 revision 40808 
Fixed in Version4.5.12 revision 52682 
Summary0004016: econda: json function returns null if title has an umlaut
Descriptionif the article or category name has an umlaut, the function json_encode returns as value null.

var emospro = {};
emospro.content = null;<---
emospro.siteid = "1";
emospro.langid = 0;
emospro.pageId = "a05810605b61335c93f58fa5704f616d";
emospro.ec_Event =
[["view","148200037",null,4047,null,1,"NULL","NULL","ee547cd7035ecf022.14493121"]];
window.emosPropertiesEvent(emospro); <-- 3. and 5. Value must be not null.



Steps To Reproduce<?php
$arr = array('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5,'f'=>'รค');

echo json_encode($arr);
?>
TagsEconda
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0004018 resolvededvardas_gineika The emospro.search string is URL-encoded forwarded to econda instead of URL-escaped 

Activities

edvardas_gineika

2012-06-26 08:08

reporter   ~0006980

converted string to UTF-8 when passing to json_encode