Results 1 to 11 of 11

Thread: [RESOLVED] [2005] Unicode variable

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Ivenesco's Avatar
    Join Date
    Sep 2007
    Location
    Poland, Lublin
    Posts
    325

    Resolved [RESOLVED] [2005] Unicode variable

    I'm trying to download few movie names and save it to database. But when I'm reading title from page sourcecode, and there is for eg. french symbol, i have in database something like this: "è" (it works on forum... I have "& # 232;"). How can I get right name?
    Code is like this:
    Code:
    strSource = myClient.DownloadString(strUrl)
    strTitle = Functions.GetTitle(strSource)
    strTitle = strTitle.Replace("'", "''")
    comCommenda.CommandText = "INSERT INTO IMDB_list (Name, Url, [File]) VALUES ('" & strTitle & "','" & strUrl & "','" & strFile & "')"
    comCommenda.ExecuteNonQuery()
    GetTitle is simple function to get title from source code.

    -------------------------------------------------------------
    I found, that in source code is "& # 232;"
    So other question, how to display it in MS Sql 2005 as è ?
    Last edited by Ivenesco; Jul 17th, 2008 at 12:03 PM.
    "Only two things are infinite; the universe and human stupidity, and I'm not sure about the former."
    Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width