Comments (6)
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.
latest archlinux - gcc 4.7.2 i think
Original comment by [email protected]
on 28 Jan 2013 at 8:15
from muparserx.
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.
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.
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.
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)
- Tag for release 4.0.9 HOT 2
- Missing header HOT 1
- README says that the version is 4.0.9 but the last tag is 4.0.8 HOT 2
- how to switch rad or gra when use trigonometric function HOT 2
- Incorrect Assignment Multiplication HOT 1
- Inconsistent Use of Signedness for Binary and Hex Numbers
- Feature Request: Add an Octal Value Reader
- logic operator lack shor-circuit feature
- 4.0.10 FTBFS HOT 1
- constant starting with letter 'o' HOT 5
- Example fails on macOS HOT 7
- int to bool conversion HOT 3
- type checking HOT 1
- xor is listed in the documentation but not implemented HOT 3
- Is it possible to directly represent a matrix instead of using many lines to define it? HOT 4
- FunTan and FunSin error HOT 2
- Is matrix algebra in SetExpr possible? HOT 2
- UnknownException when defining variables with dot (.) HOT 3
- Integer test causes floating point exceptions? HOT 1
- Assuming clang as the only compiler on Apple plaform. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from muparserx.