404 ãæ¢ãã®ãã¼ã¸ã¯è¦ã¤ããã¾ãã GREE Engineering ãããã¸æ»ã
404 ãæ¢ãã®ãã¼ã¸ã¯è¦ã¤ããã¾ãã GREE Engineering ãããã¸æ»ã
_ æºå¸¯çµµæåã³ã¼ãã®ç¸äºå¤æ表ãä½ãã¹ã¬ æºå¸¯ã® Web ã¨ã¡ã¼ã«ã§ã¯ã使ãçµµæåã³ã¼ããéããããã PC ããµã¼ããã (Ruby ã使ã£ã¦) æºå¸¯å®ã¦ã«é ä¿¡ããã¡ã¼ã«ã§çµµæåã使ãããã ã«ã¼ã«: ãã£ãªã¢ãå ¬éãã¦ãããã¼ã¿ãå ã«ããã é»åçã«å¤æããã æåããããã¹ãå½¢å¼ã§ç¨æãã¦ããªããã¨ã«å¯¾ãã¦æªæãæããã EZweb (AU) xdoc2txt 㧠typeD.pdf ãã ããã¹ãè¦ç´ ãæ½åºããã $ xdoc2txt -f typeD.pdf å¾ããã typeD.txt ããå¤æ表ãåãåºãã src = IO.read('typeD.txt') src.scan(/[0-9A-F]{16,18}/s) do |str| puts str[-16,16] end 18æåæ¾ã£ã¦å³ãã16æåæ¾ããããã¯[0-9A-F]ãå«ãã¿ã¤ãã«ãå¤æ表ã«ãã£ã¤ãããã ä¾
_ çµµæåã³ã¼ãå¤ææ©çææ© imode:sjis -> ezweb:email-sjis å¤æ Hash ãã»ããã®ã§ã imode:sjis -> imode:id -> ezweb:id -> ezweb:sjis -> ezweb:email-sjis ã§ä½ã£ã¦ã¿ãã imode:sjis -> imode:id -> ezweb:id 㯠emoji_i2es.txtã ezweb:id -> ezweb:sjis 㯠emoji_e2is.txtã ezweb:sjis -> ezweb:email-sjis 㯠typeD.pdf ããå¾ãããã softbank ãä¸ç·ã«ã㦠emoji code converter generator ãä½ãããã ç¾ç¶: http://www.moriq.com/ruby/archive/emoji-conv-gen.tgz setup
åè«ãæ¸ãã¦ãããããä¹ ã ã®æè¡ãã¿ã§ãã æºå¸¯ãµã¤ãã®éçºããµãã¼ããããã©ã°ã¤ã³ãä½ãã¾ããã Mobile on Rails API ããã¥ã¡ã³ã ã¤ã³ã¹ãã¼ã«æ¹æ³ ã¬ãã¸ããªãRuby forgeã«ç§»ãã¾ããã % ./script/plugin install http://mor.rubyforge.org/svn/trunk æ´æ°å±¥æ´ 以ä¸ã®ããããé©ç¨ãã¾ããããããã¨ããããã¾ãã Mobile on Rails ãSoftBank ã®ãããªçµµæåä»æ§ã«å¯¾å¿ããã 主ãªæ©è½ã¯æ¬¡ã®éãã ãã£ãªã¢éã®çµµæåã®å¤æã¡ã½ãããã£ãªã¢å ã§ã®çµµæå表è¨ã®å¤æ ã¦ã¼ã¶ã¨ã¼ã¸ã§ã³ãã«å¿ãã¦çµµæåãå¤ææºå¸¯ãµã¤ãéçºã®ããã®ä¾¿å©ãªã¡ã½ãã ãã©ã¼ã ããã®å ¥åãå é¨ã¨ã³ã³ã¼ãã£ã³ã°(å¯èªæåå)ã«å¤æããã»ãã·ã§ã³IDãURLã«ä»å æºå¸¯ããã®ãªã¯ã¨ã¹ãã®éã¯æºå¸¯ç¨ã®Viewãèªã¿è¾¼ããªã¯ã¨
ç¾å¨Jpmobileã¨Mobile on Railsã使ã£ã¦æºå¸¯ãµã¤ãæ§ç¯ã®åå¼·ä¸ã ã§ãæºå¸¯ã¯Shift_JISã®ä¸çã§ãRailsã¯UTF-8ã®ä¸çãªã®ã§ãæåã³ã¼ãå¤æãå¿ è¦ã«ãªã£ãã®ã§åå¼·ããã Rubyã®æåã³ã¼ãå¤æã«ã¯ãKconvã¨NKFã¨ããã®ããããããã Kconvã¯æåã³ã¼ããèªåå¤å®ãã¦ããããããããèªåã§ããããããé¨åãéã«å¤±æããããããããã®ã§ãæåã³ã¼ããåãã£ã¦ãã¨ãã«ã¯NKFã使ãæ¹ãè¯ãã ã¨ãããã¨ã§ãJpmobileã®ãã¼ã¸ã«ããto_sjisã¡ã½ããã¯Kconvã使ã£ã¦ãããããã¤ãNKFã使ãããã«å¤æ´ããã $RAILS_ROOT/app/controllers/application_controller.rbå ã«ä»¥ä¸ã®ã¡ã½ãããå®ç¾©ããã°è¯ãã ããã§ãæºå¸¯ããéããã¦æ¥ãå ¨ãã©ã¼ã ã®ãã©ã¡ã¼ã¿ãUTF-8ã«å¤æãããæºå¸¯ã¸ã®HTML
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}