08-28-2008, 10:16 AM | #1 |
Member
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 |
08-28-2008, 10:42 AM | #2 |
Liseuse Lover
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.
|
Advert | |
|
|
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 |