[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: how to handle \026 character in a string
- From: "Baranov, Paul UTCFS" <Paul.Baranov@...>
- Date: Fri, 22 Oct 2010 16:40:25 +1100
My lua code needs to deal with strings that contain \026 characters in
them. There are no problems if these characters get escaped. But if they
are used as is lua doesn't want to load the script and spits off an
error "unfinished string near '<eof>' It does report this error even if
line with such string is commented out. If this a Lua bug and if not is
there any work around beside use of an escape sequence.
Below is an example of such string:
"5-3 Test Output >1: ult RAS Ar2: Default RAS Back Address"