Questions tagged [charset]

15 questions
19
votes
2 answers

Unable to mount cifs with iocharset=utf8

When I try to mount a cifs share with option iocharset=utf8 I receive the error: mount error 79 = Can not access a needed shared library. What shared library am I missing?
Uggla
  • 193
  • 1
  • 1
  • 6
10
votes
2 answers

filename encoding issue

I am getting a file with a faroese name and trying to save it in a PHP script: 2010_08_Útflutningur.xls In Ubuntu 10.04 LTS is saving it as: 2010_08_�tflutningur.xls (invalid encoding) I've installed and run utf8-migration-tool, but with no…
Elzo Valugi
  • 279
  • 2
  • 5
  • 15
6
votes
3 answers

Best practice to replace unknown chars from unknown charsets in filenames?

i.e. i have a file called Porträt.pdf. But the filename was created with a charsets which isn't properly shown in ubuntu like the following example. What would be the best practice to rename such chars in filenames, when you have several filenames…
NES
  • 32,845
  • 41
  • 101
  • 115
4
votes
2 answers

Is there a way to tell what encoding is used for the name and content of a file?

Is there a way to tell what encoding is used for the name and content of a file? Both GUI and terminal solutions (preferred) are fine. Thanks and regards!
Tim
  • 24,657
  • 62
  • 151
  • 245
4
votes
2 answers

I am unable to type polish characters when connecting via ssh

I'm running ubuntu server 12.04 on VirtualBox. When connecting via console, I am able to type in Polish characters just fine (both on the command line as well as in VIM). When connecting via putty, I am unable to type polish chars (AltGr+a produces…
dreamwalker
  • 171
  • 6
3
votes
2 answers

w3m charset source_dump not working correctly

I am trying to use the following command but can't get the right output: $ w3m -dump_source google.com r���G��2�Ph��ү�f�� ����?�l���%Y:���c(�����������Y\��s8Ư| ��;����1ʹ��D��^�lK���٥r��\���Սk�V��Ϸv���{��r�����~s\��~?�ML7���¹���ƿ�qm��h��q�(��:wZ…
2
votes
1 answer

PHP's UTF-8 charset does not match SQL Server's latin_1 charset

My site has a webform and its submission data is written to a Microsoft SQL Server table. My site is built on a PHP / Apache / Ubuntu-Server stack. The charset of the website is UTF-8, but the charset of the SQL Server is latin_1. As a result, the…
user2111880
  • 123
  • 3
2
votes
1 answer

How to use alternative encoding in specific gnome applications?

Currently I'm trying to convert an Audio CD to ogg(s) using asunder, however, the encoding used in the CD (GB2312) is different to the current X session's (UTF-8): I tried to use a different one, but C library seems not support it: $…
Lenik
  • 10,188
  • 12
  • 34
  • 36
2
votes
1 answer

How do I check the character set used by ubuntu and probably change it

As the subject says, I am curious to know what character-set is used by Ubuntu, is it ASCII or something else like utf-8/utf-16 etc. And if possible how can i change the default character set.
Ankit
  • 6,659
  • 16
  • 55
  • 78
1
vote
0 answers

Migrate web server (apache). Debian to Ubuntu Charset problem

I want migrate old website (php 5.6) from Debian 8.10 to Ubuntu 16.04.3 server. The apache configuration have been exported in the new server and mysql database is hosted on another server : no change. After migration, the accents characters from…
1
vote
1 answer

How to display "»" \xBB in xterm?

I am trying to display double > "»". I belive it is xBB in char set. How can I do it? Thanks
linux-lover
  • 21
  • 1
  • 2
1
vote
1 answer

Read character encoding with sed

I'm trying to write a bash script to convert all special characters inside a file (é, ü, ã, etc) into latex format (\'e, \"u, \~a, etc). Usually, this stuff is really easy to do with sed, but I'm having trouble at getting sed to recognize the…
Malabarba
  • 9,956
  • 11
  • 41
  • 45
1
vote
2 answers

Error while opening tex files in gedit

I use 5.8.5 version of notepad++. The .tex file that I have edited on notepad++ could not be opened on gedit. The error I get is "character set could not be recognized"
nixnotwin
  • 4,993
  • 17
  • 53
  • 71
1
vote
2 answers

change obscure charset or font in ubuntu server console

When I opened a log file in my Ubuntu server, my server font changed to obscure character according to this picture: How can I restore it to the regular font?
poyan_msd
  • 21
  • 2
0
votes
0 answers

how to copy files from Windows share to Linux and preserve character sets

I'm making manual backups of remote Windows shares to my Ubuntu server. It's as simple as mounting the shares with mount -t cifs and running rsync on that. My problem is with accents or special chars like the EURO currency symbol WITHIN files (not…