does CFstoredProc support unicode?
I need to pass mandarin chinese characters into a sql server stored procedure. Usually I would do this using the following code:
<cfprocparam
type="in"
dbvarname="@newText"
value="百科全书" <!--- want to pass in mandarin characters --->
cfsqltype="CF_SQL_NVARCHAR"
maxlength="50">
<cfprocparam
type="out"
dbvarname="@returnCode"
variable="idNumber"
cfsqltype="CF_SQL_INTEGER">
</cfstoredProc>
my stored procedure looks like this:
CREATE PROCEDURE [dbo].[testTextInput]
@newText nvarchar(50),
AS
INSERT INTO testTextTable (someText)
VALUES (@newText)
RETURN
my sql table has the field "someText" declared as nvarchar(50)
when i run this the text input into my sqlServer table is not in mandarin. Wondering if cfstoredProc supports unicode, or if I am doing something wrong. If it doesn't support unicode, then how do i do this, will it work if i use <cfquery - instead?
thank you in advance,
Deb
