Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2008, 10:16 AM   #1
mkaluza
Member
mkaluza began at the beginning.
 
Posts: 20
Karma: 27
Join Date: Jul 2008
Device: PRS-505
National characters in .js code

Just a hint to save you some time...
If you comment the code in your native language, be sure the file is UTF-8, otherwise runJs function will die without generating any exception at all. At least it failed for polish and cp1250.
This really sux... I've lost quite some time before I realized that the comments are to blame for the fault.

greetz
MK
mkaluza is offline   Reply With Quote
Old 08-28-2008, 10:42 AM   #2
acidzebra
Liseuse Lover
acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.acidzebra ought to be getting tired of karma fortunes by now.
 
acidzebra's Avatar
 
Posts: 869
Karma: 1035404
Join Date: Jul 2008
Location: Netherlands
Device: PRS-505
See? Comments in code are evil. At best it leads to people tinkering with or *shudder* understanding what you did, at worst, well, stuff dies on you.

acidzebra is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
National Doughnut Day!!! NormHart Lounge 3 06-04-2010 09:07 AM
Let's create a source code repository for DR 800 related code? jraf iRex 3 03-11-2010 12:26 PM
Digital Bookmobile National Tour advocate2 News 1 02-02-2010 11:01 AM
National Book Festival Nate the great News 0 08-19-2009 12:05 PM
Unutterably Silly The Need for a National E-book Bailout Steven Lyle Jordan Lounge 5 12-23-2008 09:05 PM


All times are GMT -4. The time now is 02:28 PM.


MobileRead.com is a privately owned, operated and funded community.