jax
application by Django?
Best regards.
On 5/31/07, Kent Johnson <[EMAIL PROTECTED]> wrote:
Young-gyu Park wrote:
> fileHandle = open (
> '/var/chroot/www/htdocs/django/js/model.js', 'w' )
> fileHandle.write( codecs.BOM_U
art of my whole source code.
I try to convert the python dict into javascript array.
Because they have same syntax.
So when I print out the the dict, this is valid javascript array.
And then I parsed the javascript array to display html page. But when I
print out the python dict.
the
Yes I did
I added the locale code at the top of my python code.
What I want to do is that I want to convert to python dict to javascript
associative array.
and I will get the javascript array to display in the html page.
But the korean letter which is in the python dict is displayed raw format
I input the data which is from the database into array.
and then I print out the array to the file
but the letter I can not figure out.
fileHandle = open ( '/var/chroot/www/htdocs/django/js/model.js',
'w' )
fileHandle.write( codecs.BOM_UTF8 )
print >> fileHandle, 'var