From: David K. <da...@gi...> - 2004-06-07 17:02:05
|
Yonghao Wang <yon...@ti...> wrote: > > It seems Matepad still convert my txt file into Unicode format. Or > operating system does this (colinux comes same error)? And I tried > using ultraeditor to have looked HEX code of file. Even when I was > editing file it looks fine and save and open again it prepend and > convert into 2byte code. > > Any suggestions will be appreciated hi Yonghao, even though you can't see the BOM charaters in MetaPad because it ignores the binary, after you've saved the file with UltraEdit, they are there. for me, to get it working i had to re-install coLinux just to get a "clean" text xml file, then edit it only with MetaPad, and *never* let UltraEdit touch it. even if you remove the BOM characters with UltraEdit's hex mode, UltraEdit replaces them when you save the file. BTW: it is not necessary to email me off-list. i monitor the lists i'm subscribed to regularly, and will direct my replies back to the list so that others can benefit from the discussion, and find these types of useful discussions in the list archives, later. -dave > David Kaufman <da...@gi...> wrote: > > Dan Aloni <da...@co...> wrote: >> On Fri, Jun 04, 2004 at 03:04:11PM +0100, Yonghao Wang wrote: >> >>> daemon: loading configuration from colinux.default.xml >>> >>> and it popup a windows error message: >>> >>> "The instruction at "0x0040af85" referenced memory at "0x00000000". >>> The memory could not be "read". >> >> It appears the crash was inside mxml_string_getc. It is possible that >> the mxml library crashed on an invalid XML. Please send it over. >> > > i ran into this bug too. the first text editor i tried to use to edit > the coLinux config file was UltraEdit32. this particular program > feels that it's necessary to prepend a BOM (or Byte Order Mark) to the > beginning of the file, just because it's "Unicode". coLinux crashes > if the xml file starts with a BOM - perhaps it should be renamed a > BOMB :-) > > [...] Yonghao, if you need a text editor that doesn't screw up the > colinux config file, check out MetaPad: http://liquidninja.com/metapad > > hope this helps! > > -dave |