Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
4c3b1a1b
Commit
4c3b1a1b
authored
Oct 23, 2013
by
Vinicius Jarina
Browse files
Fixed issue with UTF8 chars. (iOS, Mac, Android, Linux)
parent
8f17a6a7
Changes
4
Hide whitespace changes
Inline
Side-by-side
ConsoleTest/ConsoleTest.csproj
View file @
4c3b1a1b
...
...
@@ -20,7 +20,7 @@
<DebugSymbols>
true
</DebugSymbols>
<DebugType>
full
</DebugType>
<Optimize>
false
</Optimize>
<OutputPath>
bin\Debug
\
</OutputPath>
<OutputPath>
..\tests
\
</OutputPath>
<DefineConstants>
DEBUG;TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
...
...
KeraLua
@
0d1e9851
Compare
bfa01f22
...
0d1e9851
Subproject commit
bfa01f2256284a2eb3604a6dcc96e0f3795847d7
Subproject commit
0d1e9851d046158e647f1bd45ef2496ab7ee4238
Core/NLua/LuaLib/LuaLib.cs
View file @
4c3b1a1b
...
...
@@ -384,7 +384,7 @@ namespace NLua
public
static
int
LuaLLoadBuffer
(
LuaState
luaState
,
string
buff
,
string
name
)
{
return
LuaCore
.
LuaNetLoadBuffer
(
luaState
,
buff
,
(
uint
)
buff
.
Length
,
name
);
return
LuaCore
.
LuaNetLoadBuffer
(
luaState
,
buff
,
(
uint
)
0
,
name
);
}
public
static
int
LuaLLoadBuffer
(
LuaState
luaState
,
byte
[]
buff
,
string
name
)
...
...
tests/LuaTests.cs
View file @
4c3b1a1b
...
...
@@ -1829,5 +1829,14 @@ namespace NLuaTest
}
}
[
Test
]
public
void
TestPrintChars
()
{
using
(
Lua
lua
=
new
Lua
())
{
lua
.
DoString
(
@"print(""waüäq?=()[&]ß"")"
);
Assert
.
IsTrue
(
true
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment