QnA character limitations

(imported topic written by cstoneba)

I’m trying to parse a text file that contains 5000+ characters on a single line. When I open the txt file, it only contians 1 line. When I run “number of lines of file xxxx” in Windows QnA debugger, it returns three. It also appears that each line only contains 2048 characters per the debugger. Can the debugger only recognize 2048 characters per line, and then returns the remaining characters as additional lines? And does the BES client do this too?

(imported comment written by Zakkus)

That is correct, the lines of file is limited to 2048 characters, and the client does this too.

I’ve actually filed a bug for this a while ago, however we generally like to avoid doing things to the agent that could cause unbounded memory use (wouldn’t want all your agents memory footprint to spike because you were accidentally reading a 100 meg binary file that was all in one line)

I believe however that you can run “concatenation of lines of file” to get around this issue…

-Zak

(imported comment written by cstoneba)

thanks Ben! “concatenation of” solved the 2048 character limitation.