- Posted by
- Thanks, mofi. That's extremely helpful. I had figured that the JavaScript engine was basically encoding the strings in its own way, but I was hoping to have some control over that process in order to work around this issue. Oh well, it looks like that's all abstracted from the user and it's not poss...Posted in Scripts
-   Topics
-   Views
- thesleeve
Feb 21, 2012
- I'm currently thinking maybe the document is using a certain Unicode encoding format, but the JavaScript interface somehow is using a different Unicode encoding format, and at some point in the data transfer, bits are being truncated or something. This makes some characters "out of range" so they ar...Posted in Scripts
-   Topics
-   Views
- thesleeve
Feb 17, 2012
- OK, I've greatly narrowed down the cause of the problem. I created a very simple script just to see if the data is being stored correctly as a string. var mySelection = UltraEdit.activeDocument.selection; UltraEdit.outputWindow.write(typeof(mySelection) + mySelection); This in essence takes the high...Posted in Scripts
-   Topics
-   Views
- thesleeve
Feb 17, 2012
- Hi everyone, This is my first post on an UltraEdit forum. I'm writing a script to take a long excerpt of Unicode text (in Japanese), break it into sentences, and load each sentence as a string into an array. I will process the array later. Everything works just fine, up until the point when I check ...Posted in Scripts
-   Topics
-   Views
- thesleeve
Feb 17, 2012