Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. How can i specify HTMLctrl to translate using UTF-8?

How can i specify HTMLctrl to translate using UTF-8?

Scheduled Pinned Locked Moved Mobile
questionhtmltutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Norber_OK
    wrote on last edited by
    #1

    I have a dialog based application using a HTML control: ... m_HtmlViewInstance = ::LoadLibrary(L"htmlview.dll"); VERIFY(InitHTMLControl(AfxGetInstanceHandle())); DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS; RECT rect; GetClientRect(&rect); m_hwndHtml = ::CreateWindow (DISPLAYCLASS,NULL,dwStyle,rect.left,rect.top, rect.right,rect.bottom,m_hWnd,0,m_HtmlViewInstance, NULL); ::SetWindowLong(m_hwndHtml, GWL_ID, 12321); ::SetFocus (m_hwndHtml); ::SendMessage(m_hwndHtml, WM_SETTEXT, 0, (LPARAM)(LPCTSTR)_T("")); ... etc.. Anyone knows how to specify the HTMLctrl to translate using UTF-8?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups