[aur-dev] [PATCH] Fix: FS#15526 non-UTF8 character in rpc output
louipc.ist at gmail.com
Mon Sep 14 17:14:31 EDT 2009
On Thu 10 Sep 2009 02:01 +0800, Gergely Imreh wrote:
> Currently AUR does not check the uploaded packages, whether they are
> correctly in UTF8 encoding. If there are fields (such as $pkgdesc)
> that contain such non-UTF8 characters, the rpc interface chokes on
> those fields: even if there's data successfully retrieved from the
> database, rpc returns "null".
> In an effort to make such errors in the PKGBUILDs debugged more easily,
> let's force rpc to have more useful output: try to convert non-UTF8
> fields to UTF8. If it's a success, good. Partial success (some characters
> showing as \uXXXX) is ok. Failure results in error message printed to that
It would be nice if this could appear in search as well as info.
The important thing is that we're giving the user as much info as
possible, debugging is a secondary goal.
More information about the aur-dev