In this post , we will see how to handle
encoding and decoding of data in javascript . Recently , I worked on a project
where I had to read paragraphs of data stored in a database column which can be
of type VARCHAR2 or CLOB . This data
needs to be transmitted as JSON and then after some processing , should be displayed
on a web page . This data had some special characters like à stored
in the database .When i rendered this content in a browser surprisingly I saw some weird characters instead of the character à . Debugging this issue seemed like a nightmare before
understanding the encoding and decoding concepts . So let’s understand these
concepts first and then see a solution to such problems .
Monday, June 25, 2018
Monday, June 11, 2018
Generate a downloadable CSV File from JSON - AngularJS
In this tutorial we will see how to generate a csv from
json (client-side) and then be able to download the file in all modern browsers.
The solution provided below in this post is tested in chrome , firefox and safari .
Subscribe to:
Posts
(
Atom
)