Forum: Ruby on Rails utf-8 encoding in URL params

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joe Y. (Guest)
on 2008-10-12 10:54
(Received via mailing list)

I'm accessing a web service API. This API is somehow like convert
input string to a graph.
this API has a text params. In the specification, this params should
be UTF-8 encoded.
what shall I do to ensure of this? or just pass the string to it?

The reason I'm asking is, when I pass some Chinese string to that API,
some string works fine, some string result in "messy code" in the
generated graph.

Any idea?

This topic is locked and can not be replied to.