[太陽花學運] 2014年3月18日 台灣人民佔領立法院行動 反對黑箱服貿

圖片
繼台灣公民記者JO1YNN在美國有線電視新聞網CNN的 iReport ( Taiwan Parliament Occupied by protesters 1st time in History )上。報導台灣「318人民佔領立法院行動」首次佔領立法院議場世界各大重要外電媒體紛紛加以報導。 Arys Chien's status update .: 【 為何學生要佔領立法院,反對黑箱服貿?】 我知道有的朋友平常沒 留意,現在一時看不太懂;我試著用另一種方式簡單說明看看。   會計偷偷抱著公司所有的資產,要去抵押借高利貸。 老闆發現了,趕緊說:「不行啊那是高利貸!」 會計:「我是為公司好!」 老闆:「那起碼告訴我,是哪家高利貸、多少錢、利息怎麼算?」 會計:「我先去借,你之後會慢慢感受到!」 老闆:「那也讓我們開個會討論吧!」 會計:「我趁你不在的時候發開會通知,你沒來,所以就算通過了。 」 老闆要攔會計、會計把自己座位鎖起來,老闆只好請人來包圍會計的 座位,並且設法強行進入;進入後亂翻會計抽屜,想找到公司資產。   以上。   會計 = 政府 老闆 = 台灣人民 高利貸 = 服貿 (沒錯,政府是人民雇用來辦事的職員,看薪水哪裡來的就很清楚了 ) (高利貸不是不能借,只是不能這樣搞啊......)  ( 來源: 我是台灣人粉絲團  )

iOS URL decode 及 encode

在開發過android 現在改開發iOS,在文件上,真的iOS做得比android好很多。像是 About iOS App Programming
而關於iOS URL decode 及 encode的討論。其中什么是url encode参见 http://www.stringfunction.com/url-decode.html

官方文件

Understanding characters

A string object presents itself as an array of Unicode characters (Unicode is a registered trademark of Unicode, Inc.). You can determine how many characters a string object contains with the length method and can retrieve a specific character with the characterAtIndex: method. These two “primitive” methods provide basic access to a string object.
Most use of strings, however, is at a higher level, with the strings being treated as single entities: You compare strings against one another, search them for substrings, combine them into new strings, and so on. If you need to access string objects character by character, you must understand the Unicode character encoding, specifically issues related to composed character sequences. For details see The Unicode Standard, Version 4.0 (The Unicode Consortium, Boston: Addison-Wesley, 2003, ISBN 0-321-18578-1) and the Unicode Consortium web site: http://www.unicode.org/. See also “Characters and Grapheme Clusters” in String Programming Guide.

Interpreting UTF-16-encoded data

When creating an NSString object from a UTF-16-encoded string (or a byte stream interpreted as UTF-16), if the byte order is not otherwise specified, NSString assumes that the UTF-16 characters are big-endian, unless there is a BOM (byte-order mark), in which case the BOM dictates the byte order. When creating an NSString object from an array of Unicode characters, the returned string is always native-endian, since the array always contains Unicode characters in native byte order.
今天最重要的是介紹大絕招 stringByReplacingPercentEscapesUsingEncoding

參見 将UTF8编码转化为中文

others:  如何处理中文编码 

留言

本月熱門文章

推薦韓劇 機智的醫生生活 充滿友情的五人組 Mido and Falasol

網路創業大不易 ? 真的要親自體會才知道!

新北市線上都更說明會,一起來改善現在的居住環境

模里西斯六日行程推薦 來規劃南半球海島行吧!!

Bonbons Studio 胖胖瑪德蓮 中秋禮盒開箱

來看一下2011年數位時代選的三十強官方網站

11/26 星期六早上八點就可以投票啦

20221018 詹智堯1000場出賽 賽後引退 將繼續以富邦悍將外野守備教練身分在中華職棒奮鬥

指揮中心自10月13日起調整自主防疫期間醫療防疫措施

OPC UA 學習筆記