Skip to main content
Participating Frequently
Dec 15, 2012 12:20 AM UTC
Question

Inserting ä into a MSSQL database by cold fusion

I have a parameter in my mssql databse with a type of nvarchar. When I try to insert a character chr(228)

ä

I get the ? in my database instead of

ä

Any one who can help.

Thanks in advance for your response.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    BKBK
    Community Expert
    Community Expert
    Dec 15, 2012 12:23 PM UTC

    Try this:

    INSERT INTO TBL(unicodeCol) VALUES (N'#chr(228)#')

    Reference: http://support.microsoft.com/kb/239530

    Translate
    Participating Frequently
    Dec 15, 2012 1:41 PM UTC

    Thanks a lot for your response, I did enable de non-latin in my DSN through cf admin and it works.

    Thanks again

    Translate