tag:support.markedapp.com,2011-09-11:/discussions/problems/40-if-markdown-has-korean-contents-is-not-appearMarked: Discussion 2011-10-24T15:20:32Ztag:support.markedapp.com,2011-09-11:Comment/108106202011-10-22T22:11:58Z2011-10-22T22:11:58Zif markdown has Korean, contents is not appear.<div><p>Hi Outsider,</p>
<p>Are you using any certain encoding? Could you post a test file
for me to work with?</p>
<p>If you want to look for any errors, try this:</p>
<ol>
<li>In Terminal at the command prompt, type <code>defaults write
com.brettterpstra.marky debugMode 1</code> and hit enter</li>
<li>Open Console.app and go to the system.log file or All Messages
in the left column</li>
<li>Watch for messages from Marked (you can type "marky" in the
filter in the upper right to <em>only</em> show messages from
Marked).</li>
</ol>
<p>If you see any errors, let me know, or feel free to paste any
output from that here.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/108106202011-10-23T05:47:39Z2011-10-23T05:47:39Zif markdown has Korean, contents is not appear.<div><p>it's my message</p>
<p>Oct 23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]:
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in
<code>split': invalid byte sequence in US-ASCII (ArgumentError) Oct
23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]: from
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in</code>content_without_headers'<br>
Oct 23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]: from
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:23:in
<code><main>' Oct 23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]:
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in</code>split':
invalid byte sequence in US-ASCII (ArgumentError)<br>
Oct 23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]: from
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in
<code>content_without_headers' Oct 23 14:44:46 Outsider-MBP
[0x0-0x12e12e].com.brettterpstra.marky[4928]: from
/Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:23:in</code>'</p>
<p>and i attach file is working.<br>
I'm using UTF-8 encoding.</p></div>Outsidertag:support.markedapp.com,2011-09-11:Comment/108106202011-10-23T13:41:11Z2011-10-23T13:41:11Zif markdown has Korean, contents is not appear.<div><p>Ok, it's happening when it tries to split out the headers. I'll
do some testing and get a fix in for the next version. Thanks!</p>
<p>-Brett</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/108106202011-10-23T18:00:08Z2011-10-23T18:00:08Zif markdown has Korean, contents is not appear.<div><p>Thanks...<br>
I'm looking forward the next version.</p></div>Outsidertag:support.markedapp.com,2011-09-11:Comment/108106202011-10-23T18:20:56Z2011-10-23T18:20:56Zif markdown has Korean, contents is not appear.<div><p>Your test file doesn't appear to have any Korean characters in
it? Is that something that's just not translating on my end?</p>
<p>I'm going to contact you directly and have you email me a file,
just in case the upload to the web is stripping out characters I
need for testing.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/108106202011-10-23T19:15:45Z2011-10-23T19:15:45Zif markdown has Korean, contents is not appear.<div><p>I got your second test file. It does appear there's an oddity in
the way that the Korean characters are handled if they're at the
beginning of the line, but it still works for me. Are you using any
special version of Ruby on your machine (that you know of)?</p>
<p>I'm adding a handler for UTF-8/16 characters in the next version
in the hopes that it will solve the problem for you, but I'd be
curious to know why it already works on some machines and not on
yours. Ruby version is the only thing I can think of immediately,
but if I have any further tests/questions, I'll post them here.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/108106202011-10-24T15:07:14Z2011-10-24T15:07:17Zif markdown has Korean, contents is not appear.<div><p>Brett</p>
<p>I got it. I'm using ruby 1.9.2-p180 (2011-0218 revision 30909)
[x86_64-darwin11.1.0]<br>
It's lastest version in homebrew.<br>
So, I chage ruby back to original (ruby 1.8.7 (2010-01-10
patchlevel 249) [universal-darwin11.0]</p>
<p>Now, Marked is woring nicely.<br>
Really Thanks!</p></div>Outsidertag:support.markedapp.com,2011-09-11:Comment/108106202011-10-24T15:20:31Z2011-10-24T15:20:31Zif markdown has Korean, contents is not appear.<div><p>Interesting. I'll see if I can make sure it's compatible across
the board. Thanks for the update.</p></div>Brett