Comments (5)
They cannot be physically written to the disk because they contain illegal characters, that's why that warning was added.
from gmad.
This should be a much better approach that addresses both criticisms.
from gmad.
A lot of unicode that can be written, such as japanese character sets and emojis are getting blanketed by this though.
from gmad.
Also why not just make the file become renamed so the file isn't lost either?
from gmad.
https://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations
See NTFS
and most UNIX file systems
. The problem comes when UTF-16 encoding drops a byte less than 0x20
due to a non-UTF-8 character.
In fact, your code wouldn't catch an error like Wikipedia describes for a file named AUX.txt
on an NTFS/Windows system.
from gmad.
Related Issues (20)
- Can't create file because apparently it doesn't fit the requierments HOT 2
- Trouble compiling HOT 1
- Lua: premake4.lua:1: attempt to call a nil value (global 'solution') HOT 2
- Visual Studio 2010 Build Tools (v100) required HOT 4
- GMad.sln compilation with VSCode 2017 throws errors HOT 10
- I need help... HOT 2
- Lua file is blank in .gma file HOT 3
- Can't create *.gma files over 1.86gb (written 0 bytes! (Can't grow buffer?)) HOT 8
- Fix buffer reallocation every file when creating GMA file HOT 1
- Build Failure on Ubuntu Xenial HOT 1
- Build Warning on Ubuntu Bionic / Debian Buster HOT 1
- File size cannot be acquired? HOT 5
- AAAAAAAAAAAAAAAAAAA
- seems to be empty, or we couldn't get its size! (errno=132) HOT 2
- Whitelist .raw files for publishing on the workshop HOT 1
- Feature Request: Show ignored files HOT 1
- Official binaries / docker build HOT 3
- Add xml, csv files to whitelist of the in-game mounting system HOT 1
- After December Patch i cant save DamageInfo 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 gmad.