Source.fromInputStream(stream)(io.Codec("UTF-8")) 에러시 어찌할까요?

15 views
Skip to first unread message

윤성욱

unread,
Mar 28, 2016, 9:59:56 AM3/28/16
to twitter-korean-text
Error:(31, 34) object Codec is not a member of package io
    Source.fromFile(filename)(io.Codec("UTF-8"))
                                 ^

Error:(37, 39) object Codec is not a member of package io
    Source.fromInputStream(stream)(io.Codec("UTF-8"))
                                      ^

에러가 나는데 어찌처리하나요? 

import scala.io.Codec도 안되는듯하고, 잘모르겠습니다. 알려주시면 감사하겠습니다. 

Hohyon Ryu

unread,
Mar 28, 2016, 11:47:55 AM3/28/16
to twitter-korean-text
흠.. 스칼라 버전 문제일까요? 스칼라 어떤 버전을 쓰고 계신지요?
--
You received this message because you are subscribed to the Google Groups "twitter-korean-text" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twitter-korean-...@googlegroups.com.
To post to this group, send email to twitter-k...@googlegroups.com.
Visit this group at https://groups.google.com/group/twitter-korean-text.
To view this discussion on the web visit https://groups.google.com/d/msgid/twitter-korean-text/41b5a7c2-8adc-4f56-88b7-8b197d488d94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Will Hohyon Ryu
유호현
Senior Software Engineer at Twitter
Reply all
Reply to author
Forward
0 new messages