Questions tagged [utf-8]

For discussions about UCS Transformation Format with 8 bits (UTF8). It is an encoding table that represents all characters in the Unicode character set.

Filter by
Sorted by
Tagged with
1 vote
0 answers
52 views

ffmpeg printing unknown glyph between characters on utf-8 subtitle

FFmpeg is printing unknown glyphs between some two characters but the weird thing is it's not replacing a character that doesn't exist in the font, it's just printing a new unknown glygh and I can't ...
Shayan's user avatar
  • 1,446
0 votes
1 answer
28 views

gnome-terminal does not display UTF-8 characters correctly (zsh)

I installed zsh v5.8.1 on Ubuntu 22.04.3. And my gnome-terminal looks like so: the symboles do not seem to be right. Whats wrong?
milkpirate's user avatar
0 votes
1 answer
83 views

cli program `less` interprets a file as binary when it is utf-8 text

I have a file that has non-ascii, UTF-8 characters in it. When I use less to view that file I get a warning saying may be a binary file. See it anyway? But the file is clearly not a binary. And when ...
Paul's user avatar
  • 205
1 vote
1 answer
20 views

How to define command line options in my sql systemctl service

I have a mysql install on Digital ocean cloud. And by default it's working with system ctl service. I need to run the server with those options : That have taken from here. So I've tried to edit this ...
lingar's user avatar
  • 121
1 vote
1 answer
49 views

Problems with Word link to Excel when Windows is set to use UTF-8

I've some Word documents that have fields that are automatically updated from an Excel file using Words built-in links to Excel (as in copy > paste special > paste as link). After setting up a ...
Sergio Duarte's user avatar
5 votes
2 answers
2k views

Convert UTF-16 LE to UTF-8 in windows via command line

(question re-written to be more useful) I have a batch script which will interact with command line programs, take their output, and then perform decisions based on that output. One of the programs I ...
bfh47's user avatar
  • 73
0 votes
0 answers
42 views

vsftpd log does not support utf8 filenames

I have vsftpd server for sharing my files. Most of my files have greek filename. File /var/log/vsftpd.log contains uploaded/downloaded file entries. This is what I get (because of greek filenames): ...
Chameleon's user avatar
  • 199
2 votes
0 answers
207 views

create zip format whose AES password is UTF international letters

for reason beyond me we want to create zip format encrypted with AES-256, whose password can be International, on Linux. If we use 7-zip, I found it works when creating 7z file, ie the following works:...
John's user avatar
  • 123
1 vote
2 answers
1k views

rsync "File name too long (36)" error for filenames with UTF-8 characters

Trying to copy files from an NTFS-formatted HDD to an EXT4-formatted HDD, rsync fails to copy some of them having relatively long file names consisting of Asian (UTF-8) characters. For example, there'...
Sepp A's user avatar
  • 13
1 vote
1 answer
148 views

Function to calculate length of a string in Google Spreadsheets when the string contains certain UTF-8 characters

This function returns 6 and it's expected to return 4: =LEN("🥎A🥎B") What function should I use to get the "real char count" expecting that one symbol in the UTF-8 icon map is 1 ...
Xavi Montero's user avatar
3 votes
1 answer
5k views

My text file is riddled with question marks. How can I make it readable?

When I open one of my text files in Visual Studio Code, the text contains a lot of question marks where I had expected to see Swedish letters, such as å, ä, ö : ^ click to enlarge Down to the right (...
Henke's user avatar
  • 823
0 votes
1 answer
980 views

Windows Server 2019 and File Encoding

I have run into an issue with Windows Server 2019 with saving files as UTF-8 without a BOM. If you create a simple file in Notepad on Windows Server 2019, and save it as .xml with UTF-8 (there is no ...
Davids Learnin's user avatar
0 votes
1 answer
65 views

How does thetext decoder knows which text encoder is used to encode?

When I create a text file on Windows operating system using Notepad and hit save, I get to choose the text encoding. Suppose I saved this file using UTF-16 LE encoding and later sent this file to a ...
shubham's user avatar
  • 101
0 votes
1 answer
585 views

How to download a link that contains UTF-8 coding with WGET

I use wget (Windows) to download webpages. On a site all works well but some webpages return a zero file. Here are commands i execute The first loads well with WGET, the second returns an empty file ...
clement9700's user avatar
0 votes
0 answers
2k views

"CocoaPods requires your terminal to be using UTF-8 encoding" in SSH session from Windows to macOs

I need to run pod install on macOS 12.4 through ssh remotely from a Windows 11 machine. To do this, I ssh into the macOS machine through cmd. However, when I run pod install in the secure shell, I get ...
ChrisC's user avatar
  • 213
0 votes
2 answers
456 views

How to correctly decompress a file with ANSI coding so that the output file is with UTF-8 encoding? [duplicate]

I have a .zip file which is a compressed folder and has ANSI encoding (I think, because I opened it with Notepad and it said that it has ANSI encoding). The file (folder) contains other files which ...
Silvija's user avatar
0 votes
1 answer
2k views

Locale Setting Issues on Arch Linux

I am running Arch Linux. My locale appears to be incorrectly set, but I don't know how to fix it. When I run locale, my system outputs the following: locale: Cannot set LC_MESSAGES to default locale: ...
apad's user avatar
  • 1
0 votes
1 answer
560 views

Does FTP server supports UTF-16 encoding?

I am checking my application for different encoding techniques. In one such use case related to the FTP server, I do not see anything related to UTF-16. This means I can able login to the FTP server ...
sreenath konanki's user avatar
0 votes
0 answers
202 views

UTF8 characters not displayed in browsers both Firefox and Google Chrome

I use Linux Debian and everything used to work fine. After upgrading to the newer 'bullseye' distribution I decided to compile my own kernel. All went well and I thought everything was working until ...
Aruna Hewapathirane's user avatar
4 votes
0 answers
12k views

Can I enable Unicode UTF-8 WorldWide Support in WIndows 11, but set another encoding for a specific app?

generally, I like to enable UTF-8 worldwide support in Windows 11, because most of apps I use support UTF-8 and I am using Linux OS with UTF-8 at the same time. But the problem I had so far is one of ...
sgon00's user avatar
  • 655
0 votes
0 answers
360 views

when running "LC_ALL=C.UTF-8 egrep -axv '.*'" to detect non-UTF8 characters how can I determine the exact character that caused the detection?

I frequently use this command: LC_ALL=C.UTF-8 egrep -laxv '.*' filename this tells me if the file contains any non-UTF8 characters (actually I usually use this in conjunction with find to scan many ...
Displayname71's user avatar
1 vote
1 answer
3k views

Open UTF-8 csv files by double-clicking in Excel

I want to open UTF-8 coded csv- or text-files directly in Excel 2016 or later. Of course I am aware of the import option, but I want to do this with a simple double-click. Problem is that this way ...
Stefan Martens's user avatar
0 votes
1 answer
3k views

Simplified Chinese characters are not displayed correctly in Windows command prompt

When I enter or paste a simplified Chinese character, it is displayed weirdly. It looks like a 'p' character enclosed in a rectangle. Please see the picture attached. But I copy the character and ...
user67275's user avatar
  • 1,879
0 votes
1 answer
1k views

How to convert this file into PNG

I have a file with no extension (as far as I can tell) that consists of special symbols. (File: https://drive.google.com/file/d/1h9MuUDfDtGEneEzZMNKLKWwY7JjZlBTS/view?usp=sharing) Here're a couple of ...
awayneff's user avatar
1 vote
0 answers
207 views

Outlook password encoding for email services (IMAP, SMTP)

I’m trying to make sense of how different mail clients log onto IMAP and SMTP services. There are the normal ones and then there is Outlook. Outlook seems to unconditionally encode passwords as Latin-...
phg's user avatar
  • 195
1 vote
0 answers
35 views

Bash how to printf UTF-8 [duplicate]

Here is a small script to reproduce the default: printf "|%-32s|\n" "Here, winter and there, summer" printf "|%-32s|\n" "Ici, l'hiver et la, l'ete" printf "...
Aubin's user avatar
  • 194
0 votes
1 answer
525 views

Printf in gawk with the correct encoding?

I'm wondering: can gawk printf in any format besides ASCII? Currently, I'm using gawk match() to search through some UTF-8 text. When I go ahead and print out the matches gawk finds, it ends up like ...
ixns's user avatar
  • 1
2 votes
2 answers
10k views

How can I perform an ISO-8859-1 to UTF-8 text file conversion while not changing any characters that are already valid UTF-8

Consider a text file that looks like this visually: This’s ISO-8859-1 This’s UTF-8 Behind-the-scenes, the ’ curly quote character in the first line is encoded as ISO-8859-1, and the same ’ character ...
Displayname71's user avatar
2 votes
0 answers
1k views

Downloding files via SFTP on MobaXterm gets stuck when filenames are in Hebrew

When I try to download files whose names Hebrew characters, the download gets stuck and shows an error: Error EInOutError: I/O error 123 How do I fix this? I don't want to use another FTP client, I ...
Lea Cohen's user avatar
  • 924
0 votes
0 answers
78 views

Unicode Error when trying to use Command Prompt with USB Flash drive or SD Card

I have problems when trying to use unicode characters like Russian characters (Cyrillic) on the Command Prompt (CMD). This problem only happens when I am on USB Flash drive or SD Card, which use FAT32....
lmeza-28's user avatar
2 votes
0 answers
623 views

Loading UTF8 CSV files generated on a Mac into Excel on Windows: does not recognize encoding

When I generate a UTF8 CSV file in Excel (or some other way) on Windows and then open it n Excel, I expect it to ask me to choose the right encoding. I got a UTF8 CSV file that was generated on a Mac. ...
I Z's user avatar
  • 449
9 votes
6 answers
9k views

Why does Unicode have big or little endian but UTF-8 doesn't?

UNICODE uses 2 bytes for one character, so it has big or little endian difference. For example, the character 哈 is 54 C8 in hex. And its UTF-8 therefore is: 11100101 10010011 10001000 UTF-8 uses 3 ...
Tiina's user avatar
  • 2,960
0 votes
1 answer
5k views

MobaXterm ssh console not showing correct character in tree command

When in Linux SSH box, using MobaXterm, I enter tree command, the output is: âââ jboss âââ gc.log.0.current âââ server.log which should be: └── jboss ├── gc.log.0.current └── server.log In ...
Nader's user avatar
  • 11
19 votes
1 answer
2k views

Hyphen is not rendering in Notepad++

I'm sure this is an encoding issue, but I can't figure it out. I exported a spreadsheet from Excel as a UTF-8 CSV. This produced a CSV in the UTF-8-BOM character encoding. Opening this file in Notepad+...
Joaquim d'Souza's user avatar
0 votes
1 answer
654 views

How to convert binary input into utf-16 characters on bash

I have bunch of bytes that has random bits in order and some of them 9 and 10. I can convert the 8 bit binary data into characters with a perl script like below. perl -lape '$_=pack"(B8)*",@...
Emre Uygun's user avatar
2 votes
1 answer
317 views

How to get a file list as utf8 encoded string into gnuplot?

I need the file list of a directory as utf8 encoded string in gnuplot. In gnuplot you can make a system call via system(), which (to my limited understanding) just calls cmd.exe and will carry out the ...
theozh's user avatar
  • 155
2 votes
1 answer
2k views

Converting excel files to UTF-8 .TSV

Every week I have to convert 25 or more Excel files to UTF-8 .tsv files. As of now I'm doing it using Editplus application manually. I was searching Google and other sites where I'm getting UTF-8 ....
Linga's user avatar
  • 151
0 votes
2 answers
1k views

Which text file encoding should i use to be compatible between Windows and Linux?

If i want text file (in this case .srt subtitle file) or just plain text file with various characters including ěščřžýáíéůú (WINDOWS-1250) in general to be working well both on Windows and Linux, ...
16851556's user avatar
  • 492
2 votes
1 answer
1k views

Clipping special characters to clipboard using command prompt

I want to place a certain useful special character to the clipboard to use it. So I did this using a simple batch script, something like this: @echo off set /p char=<character.txt echo %char%| ...
batchcoding____s's user avatar
4 votes
1 answer
555 views

Regexp fails to match UTF-8 characters in Notepad++

Given the following UTF-8 text in Notepad++: 🤣 1 ☺ ☺️ 2 😊 3 Both ^[^ ]+ and ^[\S]+ match only the second line. The same expressions matches all 3 lines in Visual Studio 2019. What am I missing?
Alex O's user avatar
  • 595
2 votes
0 answers
237 views

Letting IMAP server know that Alpine is fine with UTF-8

I am using Alpine with a local IMAP server. For some messages, I get the following "advisory message" in Alpine: *********************************************************** ...
Cactus's user avatar
  • 213
0 votes
1 answer
455 views

windows batch compare then skip utf  in first line of file

I would like list lines of file in batch and, in case of UTF file, skip "" characters in first line. @echo off setlocal EnableExtensions EnableDelayedExpansion for /f "delims=" %%a in (list.txt) ...
user1855805's user avatar
1 vote
1 answer
255 views

How to transfer files between Windows and Linux via a cloud drive without messing up the names?

Because Windows and Linux use different encodings (I think CP-1252 and UTF-8 respectively), when I upload a file in a non-ASCII language to a cloud drive from one OS then download it in the other, the ...
J. Doe's user avatar
  • 345
1 vote
2 answers
584 views

Can anyone explain this encoding-related behaviour?

Encoding is not my strong point, despite having read quite a bit. There's a file I want to edit, its extension is .tdl, but that doesn't mean anything in particular. It is an XML file. The first ...
mike rodent's user avatar
6 votes
1 answer
6k views

Getting "Warning: Missing charsets in String to FontSet conversion"

I'm using X applications over an SSH connection to some machine. When I run an X app, say, xclock for simplicity, I get a console message saying: Warning: Missing charsets in String to FontSet ...
einpoklum's user avatar
  • 8,814
0 votes
0 answers
3k views

I am trying to convert a CSV file to ANSI format with Textedit on Mac OS High Sierra version 10.13

I have to provide CSV files with Energy Manager consumption data to an Energy Management System (EMS) and I am working on a Mac with OS High Sierra Version 10.13. I work with LibreOffice and with the ...
Norbert Vasen's user avatar
1 vote
0 answers
50 views

Word 365 character encoding annoying

When I open some text files with Microsoft Word 365 (v2001 build 12430.20184 - 16.0.12430.20172) it asks me to choose the characters encoding. My question is: How to clean the original file to let ...
locobastos's user avatar
1 vote
1 answer
3k views

Nano displays spaces instead of some symbols

I have a feeling that I have this bug, however I've just installed new Nano 4.7 from sources When I open files, a lot of symbols (even non-unicode) as not displayed properly, but displayed as spaces. ...
The Godfather's user avatar
4 votes
1 answer
885 views

What are these unknown symbols that show up in my HTML when using Notepad?

These characters can be found by me in Notepad when writing HTML. It absolutely causing problems for me. I can’t even delete it! So does anyone knows this symbol is or why it appears? I’ve tried to ...
Phoenix's user avatar
  • 529
0 votes
0 answers
43 views

derivative of momentum p dotted symbol

I need to write the derivative of momentum in HTML with the dot notation; which is a p with a dot above. I've found the analogous symbols v̇ q̇ for v and q but not that for p.
Michaelangelo Meucci's user avatar

1
2 3 4 5 6