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

  • SEARCH
  • Home
  • 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 6005565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:24:55+00:00 2026-05-23T01:24:55+00:00

I am trying to construct search method by accepting some keywords as a GET

  • 0

I am trying to construct search method by accepting some keywords as a GET request.

For exmaple, ‘articles/search/computer’ will likely search for articles that have keyword computer.

Now, if search term contains some other languages, such as Korean word, the rails app produces the following page.

Internal Server Error


"\x80" on CP949

WEBrick/1.3.1 (Ruby/1.9.2/2011-02-18) at hanun.com:3000

and the server has log as follows

[2011-05-15 19:58:05] ERROR Encoding::InvalidByteSequenceError: "\x80" on CP949

I am in a window 7, with ruby 1.9.2p180, rails 3.0.5. I am using webrick as a development server.
How can I resolve this problem so that the rails app will accept non-alphanumeric characters as url string??

This url does works: http://127.0.0.1/articles?search=한국

However, following url does not work: http://127.0.0.1/articles/search/한국

  • 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-05-23T01:24:55+00:00Added an answer on May 23, 2026 at 1:24 am

    Ok, the problem was not from rails, but from OS. In windows, any non-alphabetic characters won’t be accepted in url if it came in as a shorthand url in rails app. In linux, it works fine. This only happens to rails.

    Note that this problems only occurs in Webrick && windows 7 && rails environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to construct a JDOQL query (using datanucleus) that will search for matches
I am trying to construct equivalent of this code in JSF2 <form action=/search.xhtml method=get>
I'm trying to construct a query that will include a column indicating whether or
Trying to construct a helper class that will return an arraylist, but I'm getting
We're trying to construct an application that can - at the request of logged-in
I am trying to construct a Groovy statement to find values that don't exist
I'm trying to construct a java web app along modular principles, with some common
Hi I'm trying to get some practice with Linked Lists. I Defined an Object
Having some issues with this search engine I am trying to put together. I'll
I am starting out with python and trying to construct an XML request for

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.