tjanczuk / azurecache

Winows Azure Cache client and Express session store
Other
8 stars 1 forks source link

Unicode characters are scrambled #2

Open psilva261 opened 10 years ago

psilva261 commented 10 years ago

Example are strings or objects that contain things like "ç". Ascii seems to work fine.

Actually in edge 0.7.14 the issue seems to get addressed, so I thought pointing package json to edge 0.7.14 would fix the issue. https://github.com/psilva261/azurecache/commit/d6f750880bc13c1839c01a997ad336e4d98e3e5e For me this makes azurecache undeployable on Azure. I get some error msg:

remote: npm ERR! error rolling back Error: EPERM, unlink 'D:\home\site\wwwroot\node_modules\azurecache\bin\Microsoft.WindowsAzure.Caching.2.1.0.0\lib\net40-full\Microsoft.ApplicationServer.Caching.AzureClientHelper.dll'
remote: npm ERR! error rolling back  azurecache@0.2.0-pre { [Error: EPERM, unlink 'D:\home\site\wwwroot\node_modules\azurecache\bin\Microsoft.WindowsAzure.Caching.2.1.0.0\lib\net40-full\Microsoft.ApplicationServer.Caching.AzureClientHelper.dll']
remote: npm ERR! error rolling back   errno: 50,
remote: npm ERR! error rolling back   code: 'EPERM',
remote: npm ERR! error rolling back   path: 'D:\\home\\site\\wwwroot\\node_modules\\azurecache\\bin\\Microsoft.WindowsAzure.Caching.2.1.0.0\\lib\\net40-full\\Microsoft.ApplicationServer.Caching.AzureClientHelper.dll' }
remote: npm WARN optional dep failed, continuing azurecache@0.2.0-pre
mlcunha commented 10 years ago

Did you solve this issue? I am trying to use azure cache with unicode/utf8 characters but it's not working.

psilva261 commented 10 years ago

Hi Marcio! The commit referenced in my last message solves the unicode problem. However, in case you're doing git deployments from Unix, I don't recommend you to use azurecache because it references native C++/C# Code. And that in turn can sometimes be really painful to deploy, if you're using Azure Websites. Am 27.04.2014 15:05 schrieb "Marcio Cunha" notifications@github.com:

Did you solve this issue? I am trying to use azure cache with unicode/utf8 characters but it's not working.

Reply to this email directly or view it on GitHub.