Forums » UltraEdit-32 » Find/Replace/Regular Expressions » Ho...
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
Bookmark History
Public Sticky notes
Posted: Wed Nov 21, 2007 10:59 am
Thank you so much ! The problem has been fixed dramatically.
1. I am actually writing an UEditor Script program, named wp.js.
But UTF-8 charactors searchings were failed by the script program.
UEditor indicates wp.js file is DOS format.
2. Add a comment into the scrip program, that makes UEditor to think it an UTF-8 formated file,
// charset=UTF-8
3. Close wp.js from Ueditor, reopen it again. (Unicode/UTF-8 detection is enabled)
Now UEditor indicates wp.js is U8-DOS format !! ha ha bingo
4. Correct garbage charactors appear in wp.js file, because format
changed.
5. Now wp.js script program works fine on U8-Unix formated target files.
The root cause is that the .js file was not in UTF-8
format so search string certainly failed on U8-UNIX formated target files.
Q: How does UEdit think my file's format is?
A: Search UEditor's help "Unicode" and "UTF-8", the answer is the status bar under the working area. In my case, it shows 'U8-UNIX'
Highlighted by hcchen


Public Comment