Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9196373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:50:12+00:00 2026-06-17T21:50:12+00:00

Searching through my application’s uncaught exception logs ( js -> php -> vb6 dll

  • 0

Searching through my application’s uncaught exception logs ( js -> php -> vb6 dll ) i noticed a weird error:

file: /displaywords_GET.php?GreekWord=%E1%ED%E8%F1%F9%F0%EF%EC%DE%ED%E1%F2&selectedRes=1 # <b>Source:</b> mydll<br/><b>Description:</b> Invalid procedure call or argument # Variables:
 # Array
(
    [GreekWord] => ανθρωπομήνας
    [selectedRes] => 1
)

so the exception in the .dll occurs for the given parameters. I tested it myself in the app by entering the specific word and the error did not occur. Then I tested to see by entering the encoded URL directly in the address bar and the error was reproduced. So in order to see if there is something wrong with the encoding, i did in javascript

encodeURIcomponent("ανθρωπομήνας")

and the result is :

%CE%B1%CE%BD%CE%B8%CF%81%CF%89%CF%80%CE%BF%CE%BC%CE%AE%CE%BD%CE%B1%CF%82

which is very different from the GET parameter above in the php log. Then i tried to decode the url get parameter as seen in the php file with :

decodeURIcomponent("%E1%ED%E8%F1%F9%F0%EF%EC%DE%ED%E1%F2")

and javascript says : malformed URI sequence. Why is this happening ? Obviously the application crashes because the particular URL parameter is malformed, not a proper one.

Now, my problem is, how can I see if the encoded string is a proper one or a corrupted one ? ( Though I’m not sure why php seems to decode it kind of correctly in the logs, when javascript says it’s malformed ).

thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:50:13+00:00Added an answer on June 17, 2026 at 9:50 pm

    %E1%ED... is the URL-encoding of the string as represented in the ISO-8859-7 character set. You will need to convert to the UTF-8 encoding before URL-encoding the bytes, since JavaScript will only work with UTF-8 strings.

    $word = 'ανθρωπομήνας';
    var_dump(urlencode($word)); // %E1%ED%E8%F1%F9...
    
    $utf8word = iconv('ISO-8859-7', 'UTF-8', $word);
    var_dump(urlencode($utf8word)); // %CE%B1%CE%BD...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Apache Common Logging library in my standalone application. After searching through
After searching through some existing libraries for JSON, I have finally ended up with
I am currently searching through an HTML page for a specific link, at the
I've been searching through SO and come across a couple solutions that all feel
I've tried searching through search engines,MSDN,etc. but can't anything. Sorry if this has been
I've been searching through forums to find a solution for the problem I'm facing
Each of of these threads is searching through a different list of data objects
After searching online and going through past stackoverflow posts for a suitable implementation for
I went through lots of searching the web which shows how to draw custom
I have been searching for the past through days, trying to figure out how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.