Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
I can't reproduce this issue with Linux mint/GCC 4.6.3. What platform did this 
happen on? 

Original comment by [email protected] on 28 Jan 2013 at 7:22

from muparserx.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
latest archlinux - gcc 4.7.2 i think

Original comment by [email protected] on 28 Jan 2013 at 8:15

from muparserx.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
Unfortunately there is no good answer to this problem. My top priority is 
ensuring the archive is compilable on as many platforms as possible. In this 
case it may actually mean i have to remove the offending code entirely. Here is 
why:

The main development platform is windows 7/VS2010 thats not likely to change 
despite the fact that i do some coding with qt creator. There does not seem to 
be a viable way of making VS2010 save UTF-8 (without signature or BOM) as the 
default. Moreover a quick google search reveals that the microsoft compiler 
cl.exe has issued with UTF-8 when saved without signature. That may be the 
reason why VS2010 does append a signature to each UTF-8 file it saves even if 
it was load without a signature. So much for the failures of VS2010/cl.exe. GCC 
in turn seems to have issued with reading UTF-8 containing signatures as it 
prefers the plain UTF-8 flavor. Whatever i choose i will cause problems on the 
other side of the operating system spectrum. I have no idea why archlinux is 
failing whilst Ubuntu/Linux Mint seem to accept the code. 

I will check this myself yet but if this all is true the only solution i see is 
not defining an operator named "ยต" at all and sticking to Codepage 1252.

Original comment by [email protected] on 29 Jan 2013 at 10:46

from muparserx.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024

Original comment by [email protected] on 4 Feb 2013 at 1:37

  • Changed state: Accepted
  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from muparserx.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
I changed encoding of files, now it works, checked under linux/windows - visual 
studio/makefile/qt creator -> works.

Recommendation: save newly created files in utf-8 encoding, bom does not matter.

Used tool: recode

Original comment by [email protected] on 5 Feb 2013 at 8:34

  • Changed state: Fixed
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from muparserx.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 23, 2024
I'm not entirely sure whether we've seen the last of this. Files explicitely 
saved in vs2010 as utf-8 are not listed as utf-8 when viewed with notepad++. I 
have still a lot of files listed with ansi coding in the repository. On the 
bright side: VS2010 seems to retain utf-8 when processing a file that is utf-8 
encoded.

Original comment by [email protected] on 5 Feb 2013 at 10:52

from muparserx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.