magynhard (Matthäus Johannes Beyrle)
- Login: magynhard
- Registered on: 06/27/2022
- Last sign in: 06/27/2022
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/27/2022
-
02:46 PM Ruby Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- alanwu (Alan Wu) wrote in #note-5:
> `File.read` (actually `IO.read`) interprets the file based on the
> ...
Added it to the script, both have the same output in this case:
```
[#<Encoding:UTF-8>, #<Encoding:UTF-8>]
```
But as ... -
01:44 PM Ruby Bug #18882: File.read cuts off a text file with special characters when reading it on MS Windows
- chrisseaton (Chris Seaton) wrote in #note-1:
> Don't you need to use binary mode to read these characters?
As it is a text file and reading from it behaves correctly on Linux, i expect not to need to use binary mode.
Otherwise, sh... -
11:12 AM Ruby Bug #18882 (Rejected): File.read cuts off a text file with special characters when reading it on MS Windows
- When using File.read to read a text file (in this case a javascript file) with special characters, the content is cut off at special characters.
It occurs only when running ruby on Windows, tried several versions, including the latest...