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. General Programming
  3. C / C++ / MFC
  4. Use AfxParseURLEx ?

Use AfxParseURLEx ?

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelptutorial
4 Posts 3 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.
  • B Offline
    B Offline
    bosfan
    wrote on last edited by
    #1

    Hello community, i use this function in my application and have a little issue! For example Firefox translate URL with tis "ö" to "%C3%B6" and this is ok, now when i use AfxParseUrlEx with URLs who have character like "ö" in this convert it to "%F6" and this is wrong! I need it converted like Firefox from "ö" to "%C3%B6"!! Hove to use AfxParseUrlEx so that they should do the same like Firefox? Use with parameter ICU_BROWSER_MODE don't work! :( I hope my question is understandable for other :( Best regards bosfan

    D 1 Reply Last reply
    0
    • B bosfan

      Hello community, i use this function in my application and have a little issue! For example Firefox translate URL with tis "ö" to "%C3%B6" and this is ok, now when i use AfxParseUrlEx with URLs who have character like "ö" in this convert it to "%F6" and this is wrong! I need it converted like Firefox from "ö" to "%C3%B6"!! Hove to use AfxParseUrlEx so that they should do the same like Firefox? Use with parameter ICU_BROWSER_MODE don't work! :( I hope my question is understandable for other :( Best regards bosfan

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      What happens if you set dwFlags to 0?

      "One man's wage rise is another man's price increase." - Harold Wilson

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

      B 1 Reply Last reply
      0
      • D David Crow

        What happens if you set dwFlags to 0?

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather

        B Offline
        B Offline
        bosfan
        wrote on last edited by
        #3

        Hello, thanks for answer! It is the same, character 'ö' is converted to "%F6" not to "%C3%B6"! Maybe i do not understand this function!? For example, blanc's are converted to "%20" and this is ok! :( regards bosfan!

        X 1 Reply Last reply
        0
        • B bosfan

          Hello, thanks for answer! It is the same, character 'ö' is converted to "%F6" not to "%C3%B6"! Maybe i do not understand this function!? For example, blanc's are converted to "%20" and this is ok! :( regards bosfan!

          X Offline
          X Offline
          XTAL256
          wrote on last edited by
          #4

          "%C3%B6" is a two byte character, perhaps the issue has something to do with character encoding (UTF-8 vs UTF-16)? Edit: I see that 0xF6 (246 decimal) is ASCII character "ö".

          [Window Detective] - Windows UI spy utility

          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