diff --git a/pages/client/shops.php b/pages/client/shops.php
index c28f773a4eb597613365813b714f915e688944ee..09699756e70bd1de0c2ec28975c0513fc64dd27e 100644
--- a/pages/client/shops.php
+++ b/pages/client/shops.php
@@ -223,10 +223,10 @@
         function goToShop(id){
             var shopItemDetail='<p>Type: <strong>'+$('#'+id).attr('type')+'</strong></p>';
             if($("#"+id).attr("displayName") != ""){
-                shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURI($("#"+id).attr("displayName"))+'</strong></p>';
+                shopItemDetail+='<p>Nom personnalisé: <strong>'+decodeURIComponent($("#"+id).attr("displayName"))+'</strong></p>';
             }
             if($("#"+id).attr("enchants") != ""){
-                let enchants = JSON.parse(decodeURI($("#"+id).attr("enchants")));
+                let enchants = JSON.parse(decodeURIComponent($("#"+id).attr("enchants")));
                 for(const [key, value] of Object.entries(enchants)){
                     shopItemDetail+='<p>Enchantement: <strong>'+key+'</strong> ('+value+')</p>';
                 }