{"id":24,"date":"2008-12-29T22:45:25","date_gmt":"2008-12-29T22:45:25","guid":{"rendered":""},"modified":"2010-12-25T15:46:58","modified_gmt":"2010-12-25T15:46:58","slug":"tsm_with_utf_8_characters","status":"publish","type":"post","link":"https:\/\/mattias.amnefe.lt\/wordpress\/2008\/12\/29\/tsm_with_utf_8_characters\/","title":{"rendered":"TSM with UTF-8 characters"},"content":{"rendered":"<p>I&#8217;ve had some trouble getting Tivoli Storage Manager to work on my Ubuntu Hardy installation. The problem seems to have been with non-ascii characters (in my case Swedish characters)<\/p>\n<p>The typical error messages I see are:<\/p>\n<pre>ANS1228E Sending of object '\/foo\/r\u00e4ksm\u00f6rg\u00e5s' failed\r\nANS4042E Object name '\/foo\/r\u00e4ksm\u00f6rg\u00e5s' contains one or more unrecognised characters and is not valid.<\/pre>\n<p>Many people have suggested different things to set the various locale-related environment variables (LANG, LC_ALL, LC_CTYPE et. al.) to, but none helped in my case.<\/p>\n<p>Finally I found the page at http:\/\/www.backupcentral.com\/phpBB2\/two-way-mirrors-of-external-mailing-lists-3\/ibm-tsm-13\/tsm-server-and-ba-client-support-for-ubuntu-88803\/ which suggested I run the command<\/p>\n<p><code>sudo locale-gen en_US<\/code><\/p>\n<p>This is because Ubuntu doesn&#8217;t install none-utf8 locales by default. This turned out to be a winner, since I could now set LANG=en_US and run my dsmc inc.<\/p>\n<p>Mission accomplished, backup running, time to go to bed.<\/p>\n\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fmattias.amnefe.lt%2Fwordpress%2F2008%2F12%2F29%2Ftsm_with_utf_8_characters%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had some trouble getting Tivoli Storage Manager to work on my Ubuntu Hardy installation. The problem seems to have been with non-ascii characters (in my case Swedish characters) The typical error messages I see are: ANS1228E Sending of object &hellip; <a href=\"https:\/\/mattias.amnefe.lt\/wordpress\/2008\/12\/29\/tsm_with_utf_8_characters\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/posts\/24"}],"collection":[{"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":2,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":86,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/posts\/24\/revisions\/86"}],"wp:attachment":[{"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattias.amnefe.lt\/wordpress\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}