elementary / elementary/code

Mixed Formats (DOS and UTF-8)

Open
#1,370 25 comments 0 reactions 0 assignees View on GitHub
Priority: Low Status: Confirmed
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### What Happened?

Error message says "_No text Found. Maybe corrupt or no text file_" while trying to open an 178kb php file with code version 7.1.0-1 on Manjaro Linux with everything up to date. Every other php file is working fine like expected! Looks like code cant read the file into the buffer so it event cant realize its a php file

### Steps to Reproduce

1. Opening 178kb php file inside code or from Dolphin Browser results in the following error:
![pantheon-code_issue](https://github.com/elementary/code/assets/14232077/6b1291b2-20e7-4282-9389-cb8a76d0c5f3)

### Expected Behavior

Just wanted to view the php code

### OS Version

Other Linux

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

CPU: dual core Intel Core i3-4130 (-MT MCP-) speed/min/max: 1450/800/3400 MHz
Kernel: 6.1.44-1-MANJARO x86_64 Up: 29m Mem: 3.15/11.6 GiB (27.1%)
Storage: 461.98 GiB (3.9% used) Procs: 194 Shell: Zsh inxi: 3.3.29

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.