I have a wordpress installation on sql server 2008 r2. I am not a php man myself, so I’m not really sure how to attack the php side.
On the sql server side I can see question marks being stored, so this is not just a presentation issue.
I am thinking maybe the insert itself does not have an N
before the string.
Can anyone point me to where I can start looking in the php files, or even better is there is a known solution for this issue?
Edit: I already checked and all fields are nvarchar.
Edit 2: I just manually inserted the data into the DB and it is stored correctly.
Check your
wp-includes/wp-db.php
file.Wpdb is the core database object used for db operations.