{"id":7628,"date":"2004-06-30T17:41:50","date_gmt":"2004-06-30T15:41:50","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/30\/on-strings\/"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T22:00:00","slug":"on-strings","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/30\/on-strings\/","title":{"rendered":"On strings"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>\t<img decoding=\"async\" class=\"alignright\" src=\"\/wordpress\/wp-content\/20040630-chinese_letter.jpg\" alt=\"\"><\/p>\n<p>By the virtues of <a href=\"http:\/\/www.perlmonks.com\">Perl Monks<\/a> I came across an interesting <a href=\"http:\/\/www.sidhe.org\/~dan\/blog\/archives\/000255.html\">entry in the blog<\/a> of Dan Sugalski who is the designer of Parrot, the interpreter engine for Perl 6.<\/p>\n<p>In that post Dan talks about strings.  He explains a lot of problems that come with different human languages and how careful one should be when dealing with multilingual strings.  It is an interesting and insightful read.  There are few other posts on the subject too, in case you want to go further.<\/p>\n<p>For those who decided to skip reading, I&#8217;ll repost his excellent advice free of charge.<\/p>\n<blockquote>\n<p>Important safety tip&#8211;never get a tattoo in a language you don&#8217;t understand. &#8220;Baka&#8221; is <i>not<\/i> Japanese for &#8220;good fortune&#8221;<\/p>\n<\/blockquote>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>By the virtues of Perl Monks I came across an interesting entry in the blog of Dan Sugalski who is the designer of Parrot, the interpreter engine for Perl 6. In that post Dan talks about strings. He explains a lot of problems that come with different human languages and how careful one should be &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/06\/30\/on-strings\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">On strings<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"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,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,62],"tags":[],"keyring_services":[],"class_list":["post-7628","post","type-post","status-publish","format-standard","hentry","category-general","category-technology"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":12138,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/02\/12\/php-variables-strings-and-curly-braces\/","url_meta":{"origin":7628,"position":0},"title":"PHP variables, strings, and curly braces","author":"Leonid Mamchenkov","date":"February 12, 2010","format":false,"excerpt":"For the last couple of days we had a number arguments at work about what is the best way to surround a complex PHP variable inside a double-quoted string. \u00a0More specifically, should the sigil ($, dollar sign) be on the inside of the braces or on the outside. \u00a0Consider an\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7929,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/09\/20\/building-a-vector-space-search-engine-in-perl\/","url_meta":{"origin":7628,"position":1},"title":"Building a Vector Space Search Engine in Perl","author":"Leonid Mamchenkov","date":"September 20, 2004","format":false,"excerpt":"There is a very interesting article at Perl.com. It is about building a search engine using perl language. The interesting part is that the article is not about the usual reverse index type search engines. It takes a different approach - vector space searching. Reading the article reminded me of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":240,"url":"https:\/\/mamchenkov.net\/wordpress\/2003\/06\/03\/perl-monks-home-node-updated\/","url_meta":{"origin":7628,"position":2},"title":"Perl Monks home node updated","author":"Leonid Mamchenkov","date":"June 3, 2003","format":false,"excerpt":"Major reconstruction of my home node at Perl Monks. I've added links to home nodes of other monks, who have links to interesting articles. Lots of reading pending...","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7792,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/08\/12\/advantages-of-mod_perl-over-java-servlets\/","url_meta":{"origin":7628,"position":3},"title":"Advantages of mod_perl over Java servlets","author":"Leonid Mamchenkov","date":"August 12, 2004","format":false,"excerpt":"Pretty often, in the mailing lists, people ask why should they use one solution instead of another. There is a similar discussion on mod_perl mailing list. While there are, as usual, a number of reasons to use Perl over Java, it gets interesting when it comes to examples and references.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7402,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/03\/30\/php-zopepython-and-perl\/","url_meta":{"origin":7628,"position":4},"title":"PHP, Zope\/Python, and Perl","author":"Leonid Mamchenkov","date":"March 30, 2004","format":false,"excerpt":"There is an article at kuro5hin.net called \"Switching from PHP to Zope\/Python\". This should provide for an interesting read for all those poor PHP souls. As for me - I use Perl and I am not planning to change any time soon. There are two major bonuses in Perl for\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9451,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/09\/14\/working-with-named-pipes-in-perl\/","url_meta":{"origin":7628,"position":5},"title":"Working with named pipes in Perl","author":"Leonid Mamchenkov","date":"September 14, 2005","format":false,"excerpt":"The collegue of mine came across a problem that developed into an interesting solution that I decided to share with the world. Actually, I think the world is pretty much aware of the solution, but just in case that I will ever be looking for this solution again, I'll have\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=7628"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/7628\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=7628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=7628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=7628"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=7628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}