Recommended Posts

  • 3 weeks later...
  • 1 month later...

I think there may be a bug with this tool guys. I am trying to figure out if the username is being sent correctly for a user who has a character like ? in their name.

What encoding is used? Is the HTML returned from a request encoded?

For example, if the user logging in is UserA?

If I use utf-8, then no character is returned and I just get UserA

If I use utf-7, then I get this and I get UserA

If I use ASCII, then I get a ? and I get UserA?

I think there may be a bug with this tool guys. I am trying to figure out if the username is being sent correctly for a user who has a character like ? in their name.

What encoding is used? Is the HTML returned from a request encoded?

For example, if the user logging in is UserA?

If I use utf-8, then no character is returned and I just get UserA

If I use utf-7, then I get this and I get UserA

If I use ASCII, then I get a ? and I get UserA?

585724876[/snapback]

Any Neowin coders know about this??

  • 2 weeks later...
There's no encoding used, I don't believe. It's whatever is in the database. Look at how IPB handles it.

585798060[/snapback]

Well if I don't use any encoding, then I am getting names without the special characters. If I use encoding, then I get some value in the position of the special character, but I can't decode it.

Is anyone else using this tool? Can anyone else confirm that users who have special characters in their name are coming across ok?

I may be wrong, but you might have to encode it so it comes across ok.

Anytime you have a whitespace or weird character in the URL of your browser, it is converted(encoded) so it can be set across the net ok. We might need to do the same for this...

yeah, neowin does use Latin-1 (ISO-8859-1) (view page source, it's in the content-type header tag)

the problem is i dont know how the script handles internationalised characters (im guessing the TM symbol was entered as Unicode), i also have no idea how it translates between Unicode and Latin-1 (e.g. how it handles wide characters) but it does look like it doesnt support wide characters (cause it's handling the two bytes separatly, not as one wide character)

Edit: ok, reading the wiki more, if the symbol isn't unicode, it's a problem with codepages, ISO-8859-1 doesnt have the TM symbol, but Windows-1252 does have it, the problem is that they are basically the same, so web browsers (and im guessing other apps) treat them as such. ISO-8859-1 has a range of control characters (which are invalid in HTML) while Windows-1252 has characters there (including the TM symbol)

Edited by The_Decryptor
yeah, neowin does use Latin-1 (ISO-8859-1) (view page source, it's in the content-type header tag)

the problem is i dont know how the script handles internationalised characters (im guessing the TM symbol was entered as Unicode), i also have no idea how it translates between Unicode and Latin-1 (e.g. how it handles wide characters) but it does look like it doesnt support wide characters (cause it's handling the two bytes separatly, not as one wide character)

Edit: ok, reading the wiki more, if the symbol isn't unicode, it's a problem with codepages,  ISO-8859-1 doesnt have the TM symbol, but Windows-1252 does have it, the problem is that they are basically the same, so web browsers (and im guessing other apps) treat them as such. ISO-8859-1 has a range of control characters (which are invalid in HTML) while Windows-1252 has characters there (including the TM symbol)

585802611[/snapback]

Well just for S&G, let me try using that Windows-1252 instead... :)

  • 10 months later...
  • 3 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • HWMonitor 1.64 by Razvan Serea HWMonitor is a hardware monitoring program that reads PC systems main health sensors : voltages, temperatures, fans speed. The program handles the most common sensor chips, like ITE® IT87 series, most Winbond® ICs, and others. In addition, it can read modern CPUs on-die core thermal sensors, as well has hard drives temperature via S.M.A.R.T, and video card GPU temperature. Special hardware monitors such as abit® uGuru and Gigabyte® ODIN™ power supplies serie are supported too. HWMonitor 1.64 changelog: Intel Arc G3 & G3 Extreme (Panther Lake). Intel Core Ultra 5 250KF Plus (Arrow Lake Refresh). AMD Ryzen 7 7700X3D (Raphael). AMD Ryzen AI Max+ 495, 492, 488 (Gorgon Halo). AMD Ryzen AI Max 490, 485 (Gorgon Halo). AMD Ryzen AI Max PRO 495, 490, 485, 480 (Gorgon Halo). AMD Ryzen 9 9950X3D2 (Granite Ridge). AMD Ryzen 9 PRO 9965X3D, PRO 9945 (Granite Ridge). AMD Ryzen 7 PRO 9755, PRO 9745 (Granite Ridge). AMD Ryzen 5 PRO 9645 (Granite Ridge). AMD Ryzen AI 7/PRO 450G/GE (Gorgon Point 2). AMD Ryzen AI 5/PRO 440G/GE (Gorgon Point 2). AMD Ryzen AI 5/PRO 435G/GE (Gorgon Point 3). Support of HUDIMM and HSODIMM memory modules. New themes. New real-time graphs. Download: HWMonitor 1.64 | 3.4 MB (Freeware) Download: Portable HWMonitor 1.64 | 2.7 MB View: HWMonitor Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I have had a request since 2017 and so have many others that requested too and nothing has been done about it except its on our list to do.
    • I think it might be behind the trailer park amusements?
    • Some people don’t like them but plenty more enjoy what they have to offer. Check the value of the company.
    • Not such a great deal, Ultimate, which gives you full 5080 features is $181.99 CAD per month, that's $2183.88 per year, I can buy the 5080 for $1809.99 CAD, then it goes up to $279.99 per month after the first billing cycle. Typical cloud rental, costs more than buying the hardware.
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      PsYcHoKiLLa
      172
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      77
  • Tell a friend

    Love Neowin? Tell a friend!