I am really having a hard time compiling the below code with SLC. Keep on getting an error. I have even upgraded Notepad++ but still no joy. Don't see the option to select encoding "UTF-8 without BOM"
Any advise on solving this will be appreciated. Not via Eclipse - via Notepad ++
This is the error that I am getting
Any advise on solving this will be appreciated. Not via Eclipse - via Notepad ++
B4X:
package ir.mirrajabi.persiancalendar.core;
public class Constants {
public final static String DAY = "day";
public final static String IS_OUT_OF_RANGE = "is out of range!";
public final static String NOT_IMPLEMENTED_YET = "not implemented yet!";
public final static String MONTH = "month";
public final static String YEAR_0_IS_INVALID = "Year 0 is invalid!";
public static final int MONTHS_LIMIT = 5000; // this should be an even number
public static final String OFFSET_ARGUMENT = "OFFSET_ARGUMENT";
public static final String BROADCAST_INTENT_TO_MONTH_FRAGMENT = "BROADCAST_INTENT_TO_MONTH_FRAGMENT";
public static final String BROADCAST_FIELD_TO_MONTH_FRAGMENT = "BROADCAST_FIELD_TO_MONTH_FRAGMENT";
public static final String BROADCAST_FIELD_SELECT_DAY = "BROADCAST_FIELD_SELECT_DAY";
public static final int BROADCAST_TO_MONTH_FRAGMENT_RESET_DAY = Integer.MAX_VALUE;
public static final String FONT_PATH = "fonts/NotoNaskhArabic-Regular.ttf";
public static final char PERSIAN_COMMA = '،';
public static final String[] FIRST_CHAR_OF_DAYS_OF_WEEK_NAME = {"ش", "ی", "د", "س",
"چ", "پ", "ج"};
public static final char[] ARABIC_DIGITS = {'0', '1', '2', '3', '4', '5', '6',
'7', '8', '9'};
public static final char[] PERSIAN_DIGITS = {'۰', '۱', '۲', '۳', '۴', '۵', '۶',
'۷', '۸', '۹'};
}
This is the error that I am getting
B4X:
\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:16: error: unclosed character literal
public static final char PERSIAN_COMMA = '،';
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:16: error: unclosed character literal
public static final char PERSIAN_COMMA = '،';
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \176
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \177
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \178
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \179
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \180
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: illegal character: \182
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:21: error: unclosed character literal
public static final char[] PERSIAN_DIGITS = {'Û°', 'Û±', 'Û²', 'Û³', 'Û´', 'Ûµ', 'Û¶',
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: illegal character: \183
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: illegal character: \184
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: illegal character: \185
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: unclosed character literal
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: illegal start of type
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:22: error: ';' expected
'Û·', 'Û¸', 'Û¹'};
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\Constants.java:23: error: reached end of file while parsing
}
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\PersianCalendarHandler.java:70: error: unmappable character for encoding Cp1252
"Ù?روردین",
^
C:\Users\----------2\Documents\Basic 4 Android\PersianCalendarView\persianview\persianCalendarView\persiancalendar\src\ir\mirrajabi\persiancalendar\core\PersianCalendarHandler.java:81: error: unmappable character for encoding Cp1252
"اسÙ?ند"
^
Error.