Skip to content Skip to sidebar Skip to footer
Showing posts with the label Encoding

`$('#form').serialize()` Messes Up Utf-8 Characters

I'm inserting a form with AJAX and I'm using: $('#form').serialize() to get all the… Read more `$('#form').serialize()` Messes Up Utf-8 Characters

How To Detect If A String Is Encoded With Escape() Or Encodeuricomponent()

I have a web service that receives data from various clients. Some of them sends the data encoded u… Read more How To Detect If A String Is Encoded With Escape() Or Encodeuricomponent()

Node.js Generated Csv File Is Displaying £ For A Uk Pound Sign (£)

I'm using this json2scv package parsing my data (sample json data is described in below code) I… Read more Node.js Generated Csv File Is Displaying £ For A Uk Pound Sign (£)

Javascript Endian Encoding?

A response on SO got me thinking, does JavaScript guarantee a certain endian encoding across OSs an… Read more Javascript Endian Encoding?

Aes-256 Cbc Encryption Succeeds In Ruby/php, But Decryption Fails With Cryptojs

I can AES-256 CBC encrypt a string in PHP or Ruby (using the gem symmetric-encryption) and get the … Read more Aes-256 Cbc Encryption Succeeds In Ruby/php, But Decryption Fails With Cryptojs

How Do I Convert Gbk To Utf8 With Pure Javascript?

I want to load some text from other site which the content is GBK encoded, but my site is UTF8. Is … Read more How Do I Convert Gbk To Utf8 With Pure Javascript?