--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
| // This file contains UTF8 strings that we want as char arrays. To avoid |
| // different compilers, we use a script to convert the UTF8 strings into |
| // numeric literals (\x##). |
I believe this is just cl being dumb. It assumes local code page, not utf8 if there's no BOM.This comes up occasionally e.g. https://groups.google.com/a/chromium.org/d/msg/chromium-dev/3DV8Huz5C0M/Q-Vs4VIjwq0J and sadly https://connect.microsoft.com/VisualStudio/feedback/details/888437/it-is-impossible-to-use-utf-8-without-bom-in-source-files. The only workaround we have on Windows is to set the system language.As I suggest on that thread, I believe sticking to [32-126] is the One True Solution, but since most (English-speaking) devs aren't affected, that ship carelessly sailed off a while ago, and left a poop-trail of UTF8./blockthatmetaphor
I believe this is just cl being dumb. It assumes local code page, not utf8 if there's no BOM.This comes up occasionally e.g. https://groups.google.com/a/chromium.org/d/msg/chromium-dev/3DV8Huz5C0M/Q-Vs4VIjwq0J and sadly https://connect.microsoft.com/VisualStudio/feedback/details/888437/it-is-impossible-to-use-utf-8-without-bom-in-source-files. The only workaround we have on Windows is to set the system language.As I suggest on that thread, I believe sticking to [32-126] is the One True Solution, but since most (English-speaking) devs aren't affected, that ship carelessly sailed off a while ago, and left a poop-trail of UTF8.