Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Less file shows ""training_data.py" may be a binary file. See it anyway?"

Open syw2014 opened this issue 2 months ago • 0 comments

Pre-submit Checks

Describe the bug

when I use `less training_data.py ' which shows: "training_data.py" may be a binary file. See it anyway?

actural it was not binary but contains chinese, if use -f , as bellow:

dl1 = """ CREATE TABLE [dbo].[<E5><B7><A5><E4><B8><9A><E5><E5><8C><BA><E7><94><A8><E6><B0><B4><E7><BB><93><E6><9E><9C><E8><A1><A8>] ( [<E5><B7><A5><E4><B8><9A><E5><E5><8C><BA>] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL, [<E5><BD><93><E5><89><8D><E6><9C><88><E4><BB><BD>] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL, [<E5><BD><93><E5><89><8D><E6><B0><B4><E9><87><8F>] float(53) NULL, [<E5><90><8C><E6><AF><94>] float(53) NULL, [<E7><8E><AF><E6><AF><94>] float(53) NULL, [<E7><94><A8><E6><B0><B4><E5><BC><82><E5><B8><B8><E5><88><A4><E6><96><AD>] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL )

And the right should bellow(item2 ): ddl1 = """ CREATE TABLE [dbo].[工业园区用水结果表] ( [工业园区] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL, [当前月份] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL, [当前水量] float(53) NULL, [同比] float(53) NULL, [环比] float(53) NULL, [用水异常判断] nvarchar(500) COLLATE Chinese_PRC_CI_AS NULL ) """

To reproduce

  1. less file with warp

Expected behavior

No response

Screenshots, videos, and logs

No response

Operating system (OS)

macOS

Operating system and version

26.1 (25B78)

Shell Version

No response

Current Warp version

v0.2025.11.19.08.12.stable_06

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

syw2014 avatar Dec 04 '25 09:12 syw2014