Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Wednesday, December 3, 2008

Visual Sudio Encodings

UTF-8 is great. I like anything that takes the hassle out of thinking in regional characters and stuff.

But older software doesn't know about UTF-8... particularly Oracle SQLPlus.

When I added a sql script to my project, if I call sqlplus with it I receive a nice error:
"SP2-0734: comando desconhecido comeτado por "∩╗┐set ser..." - o resto da linha foi ignorado."

Even if you don't know portuguese, you can guess the error (not even the error message is printed right...)

The problem is the first 3 bytes of an UTF-8 file are EF BB BF, and SQLPlus doesn't like it...

For now, I don't have a solution, just a work-around: in Visual Studio, open the file with an external program (notepad to the rescue) and save it as ANSI.

Does anyone know how can I tell Visual Studio to save that particular file with a different encoding?

Friday, July 27, 2007

Visual Studio 2008 Beta2

Orcas Beta 2 has just arrived.

Go get it.

Wednesday, July 25, 2007

VS2008+CSS

Scott Guthrie has a nice article about the the new features of Visual Studio 2008(aka Orcas). The web designer is the same as in Expression Web.

It looks promising. I guess I'll have to install it and try for myself.