Saving as flat unicode text file

jdenman

New member
Joined
Feb 10, 2006
Messages
4
Programming Experience
Beginner
I'm trying to save a file for Zoom Search (www.wrensoft.com/zoom/) but I cannot figure out what to replace Enviornment.newline with so that it is compatible. I tried chr(10) and chr(13) both of which rendered the correct character (and result) in Notepad, but didn't load in the program.

What is the Unicode character for new line that I should use?[SIZE=-1]
[/SIZE]
 
It is probably just a Linefeed without the Carriage Return.
Try the constant vbLf
 
Nope

Nope - that outputted a visible carriage return in notepad.

I have a zcfg file that I'm comparing it visually to, so I can kinda tell when it's accurate. Then I try to load that into Zoom.
 
well, you could read the last chars of a textline and see what char codes that exist there
 
I downloaded and installed this Zoom Search application to have a look at the zcfg file. This file does display a visible newline char in Notepad. I analyzed all the chars in my zcfg file and found the line divider to be ascii keycode 10, which is the newline-only control character accessible from the constant vbLf.
 
Back
Top