{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/325","repository_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK","labels_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/325/comments","events_url":"https://api.github.com/repos/paypal/PayPal-Android-SDK/issues/325/events","html_url":"https://github.com/paypal/PayPal-Android-SDK/issues/325","id":170077692,"number":325,"title":"UTF-8 item description?","user":{"login":"allancth","id":3445011,"avatar_url":"https://avatars.githubusercontent.com/u/3445011?v=3","gravatar_id":"","url":"https://api.github.com/users/allancth","html_url":"https://github.com/allancth","followers_url":"https://api.github.com/users/allancth/followers","following_url":"https://api.github.com/users/allancth/following{/other_user}","gists_url":"https://api.github.com/users/allancth/gists{/gist_id}","starred_url":"https://api.github.com/users/allancth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allancth/subscriptions","organizations_url":"https://api.github.com/users/allancth/orgs","repos_url":"https://api.github.com/users/allancth/repos","events_url":"https://api.github.com/users/allancth/events{/privacy}","received_events_url":"https://api.github.com/users/allancth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-09T04:10:34Z","updated_at":"2016-08-10T01:14:50Z","closed_at":"2016-08-10T01:14:50Z","body":"### Required Information\r\n\r\n- Mode (Mock/Sandbox/Live): Sandbox\r\n- PayPal Android SDK Version: 2.14.4\r\n- Android Version and Device (Motorola Droid Razr Maxx with Android 4.4.2, Samsung S7 with Android 6.0, etc...):\r\n- PayPal-Debug-ID(s) (from any logs): 69c30722238c6\r\n\r\n### Issue Description\r\nPayPalItem is created like the following:\r\nnew PayPalItem(getString(R.string.item_description), 10, new BigDecimal(\"1\"), \"USD\", \"SKU0001\");\r\n\r\nIn my strings.xml, item_description is defined as the following:\r\n&lt;string name=\"item_description\"&gt;some UTF-8 characters such as ²&lt;/string&gt;\r\n\r\nLogcat prints the following for the object above:\r\nPayPalItem(name=some UTF-8 characters such as ², quantity=10, price=1.00, currency=USD, sku=SKU0001)\r\n*/\r\n\r\nHowever when verify payment using using the REST API, there's an additional character in the item name.\r\n{\r\n   \"transactions\": [   {\r\n      \"item_list\":       {\r\n         \"items\": [         {\r\n            \"name\": \"some UTF-8 characters such as Â²)\",\r\n            \"sku\": \"SKU0001\",\r\n            \"price\": \"1.00\",\r\n            \"currency\": \"USD\",\r\n            \"tax\": \"0.00\",\r\n            \"quantity\": 10\r\n         }],\r\n         \"shipping_address\": {\"recipient_name\": \"test buyer\"}\r\n      }, ...\r\n\t}], ...\r\n}\r\n\r\nAre there any encoding properties I'd miss configuring in the PayPal mobile SDK?"}}
{"actor":{"display_login":"allancth"}}