if markdown has Korean, contents is not appear.
if markdown has only English, It's working.
but if markdown has Korean, it doesn't work.
and this situation is happened only to me, others marked can parse
Korean with no problems.
I don't have any clue. It works a couple of weeks ago.
do you have some idea?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 22 Oct, 2011 10:11 PM
Hi Outsider,
Are you using any certain encoding? Could you post a test file for me to work with?
If you want to look for any errors, try this:
defaults write com.brettterpstra.marky debugMode 1
and hit enterIf you see any errors, let me know, or feel free to paste any output from that here.
2 Posted by Outsider on 23 Oct, 2011 05:47 AM
it's my message
Oct 23 14:44:46 Outsider-MBP [0x0-0x12e12e].com.brettterpstra.marky[4928]: /Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in
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
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
<main>' Oct 23 14:44:46 Outsider-MBP [0x0-0x12e12e].com.brettterpstra.marky[4928]: /Applications/Marked.app/Contents/Resources/removeMMDHeaders.rb:6:in
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
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
'and i attach file is working.
I'm using UTF-8 encoding.
Support Staff 3 Posted by Brett on 23 Oct, 2011 01:41 PM
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!
-Brett
4 Posted by Outsider on 23 Oct, 2011 06:00 PM
Thanks...
I'm looking forward the next version.
Support Staff 5 Posted by Brett on 23 Oct, 2011 06:20 PM
Your test file doesn't appear to have any Korean characters in it? Is that something that's just not translating on my end?
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.
Support Staff 6 Posted by Brett on 23 Oct, 2011 07:15 PM
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)?
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.
7 Posted by Outsider on 24 Oct, 2011 03:07 PM
Brett
I got it. I'm using ruby 1.9.2-p180 (2011-0218 revision 30909) [x86_64-darwin11.1.0]
It's lastest version in homebrew.
So, I chage ruby back to original (ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
Now, Marked is woring nicely.
Really Thanks!
Support Staff 8 Posted by Brett on 24 Oct, 2011 03:20 PM
Interesting. I'll see if I can make sure it's compatible across the board. Thanks for the update.