Source Encoding

2 views
Skip to first unread message

akapaka

unread,
Feb 10, 2011, 2:11:27 AM2/10/11
to orbroker
Hi

When I checkout the code it does not compile because there seems a
problem in the file encoding.

Affected: => seems to be ⇒, shows as ⇒
Probably same issue for <-

Example (Eclipse, cp1252):

protected def handleGeneratedKeys[G](
token: Token[G], genKeyHandler: G ⇒ Unit,
rs: ResultSet, expectedRows: Int) {
val extractor: RowExtractor[G] = token.extractor match {
case re: RowExtractor[_] ⇒ re
case qe ⇒ throw new ConfigurationException("Statement '%s'
needs a %s, not: %s".format(token.id.name,
classOf[RowExtractor[_]].getSimpleName, qe.getClass.getName))
}

Changing to utf-8 or ISO-8859-1 doesn't help.

Ideas?

Andreas

Nicholas Ustinov

unread,
Feb 10, 2011, 6:58:07 AM2/10/11
to orbr...@googlegroups.com
Hello!
I've checked sources, they are in utf8.

in eclipse in two places i've changed encoding settings:
1. General-> Workplace->Text file encoding->Other -> point UTF-8
after that
2. General->Editors->Text Editors->Spelling->Encoding -> point to
Default (UTF-8)
and sources become look good.

Nicholas

2011/2/10 akapaka <andreas...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages