RobertVanGeel
Thu Apr 12 10:19:30 CDT 2007
PS I'm aware of the woes that Rick describes but I did not encouter =
them, I can just read and write UTF-8 to my SQL Server using SQLExecutes =
without using any sys(whatever), it just worked without any further =
action.
Im my ODBC connection setup I de-selected "perform translation for =
character data", that's all, maybe that's the trick?
Robert
"Olaf Doschke" <olaf.doschke@t-aufderlinie.de> wrote in message =
news:%23a8DyiQfHHA.1388@TK2MSFTNGP05.phx.gbl...
> >but always the characters come up as ???
> Where do they come up as ???
> In VFP?
>=20
> VFP has no or at least only very limited
> unicode support, you need to convert to
> some codepage or treat it as binary.
> With Multibyte strings UTF-8 seems to
> be the most universal way to treat unicode.
>=20
> But then, sys(987) does not need to be the wrong
> idea, as Rick Strahl also found it to be useful, see
> below.
>=20
>>All I need to do is read out the strings and store them
>>into a SQL Server database via SPT.
>=20
> Did you try to insert the unicode data into SQL
> Server and then read it yout from C# or VB.net
> or with Access?
>=20
> Take a look here:
>
http://www.west-wind.com/wconnect/weblog/ShowEntry.blog?id=3D608
> and here
>
http://www.west-wind.com/presentations/foxunicode/foxunicode.asp
>=20
> Maybe that gives you some additional ideas.
>=20
> Sys(987,.T.) makes VFP turn unicode to ansi,
> still you need special treatment to those ansi
> strings to show them within VFP.
>=20
> Bye, Olaf.