Re: [Geary] Heads up: WebKit2 port landing on master this weekend



Locale setting in the terminal (bash inside terminix) are UTF-8.
It happens on utils-js.vala - precise error below.
/home/user/projects/geary/src/engine/util/util-js.vala:166.53-166.53:
error: invalid escape sequence
            '\x00', '\'', '"', '\\', '\n', '\r', '\v', '\t', '\b', '\f'
                                                    ^
/home/user/projects/geary/src/engine/util/util-js.vala:166.53-166.53:
error: invalid character literal
            '\x00', '\'', '"', '\\', '\n', '\r', '\v', '\t', '\b', '\f'
                                                    ^
Compilation failed: 2 error(s), 0 warning(s)

On Mon, Jan 30, 2017 at 2:18 AM, Michael Gratton <mike vee net> wrote:
On Mon, Jan 30, 2017 at 9:14 AM, step21 <step21 devtal de> wrote:

thanks for this. I wanted to test the wip branch out of curiosity. Does it
have special requirements? cmake ran fine, but when trying make, it errors
with "error: invalid escape sequence" "error: invalid character literal" Any
idea why? Do not know much about vala.


Oh, that's weird. Is it only in a specific file?

Geary's source assumes UTF-8 encoding, which is what I thought Vala defaults
to as well, but maybe that's not the case. What are you terminal's current
locale settings?


//Mike

--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]