LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2013, 11:30 AM   #1
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Rep: Reputation: Disabled
Slackware's KWrite does not save IPA characters


Hello,

Newbie is asking a question:
I am trying Slackware with the KDE desktop environment. The editor KWrite does not save some of the so-called IPA characters as found on this page
http://www.wordreference.com/fr/Fren...unciation.aspx

For example, the character "a" with the tilde sign above it is not saved.
The editor displays it well but when I press the save button, it protests that it may not be able to save it, and it doesn't.


Before, I used to employ gedit (in Debian). That editor worked fine with the exotic characters.

How can I make KWrite save the characters?

Thanks in advance for your help
 
Old 07-19-2013, 03:43 PM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Use the command "locale" and see what the output is. I get "LANG=en_GB.utf8" If you don't have the "utf8" bit, you need to set the locate correctly.
 
Old 07-20-2013, 10:25 AM   #3
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
When I enter the command "locale", I don't get exactly the line "LANG=en_GB.utf8". Here is all that I get:

bash-4.2$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=


Are they acceptable?

Another thing that I should have mentioned is that emacs (on the same sytem) is successful at both displaying and saving the IPA characters. I wonder if my question is about the editor or about the x system or about something else.

Last edited by parviz; 07-20-2013 at 11:17 AM. Reason: to add another note
 
Old 07-21-2013, 10:38 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
It looks as if Kwrite is the problem. I'm not a KDE fan, so I'm not familiar with it. Perhaps you could switch to Kate?
 
Old 07-22-2013, 09:22 AM   #5
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Based on your response, I consider this thread as solved. It is now safe for me to say that the problem is with KWRite, and that KWrite perhaps requires a plugin to be able to save the exotic characters. Thanks again.
 
Old 07-22-2013, 10:29 PM   #6
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
@david: kate and kwrite use the same editor kpart, so switching probably wont help.

@parviz: it sounds more like the default encoding (utf-8) that kwrite uses doesn't support IPA characters.
Look under tools/encoding for the right one. I would first try utf-16.

Cheers
 
1 members found this post helpful.
Old 07-23-2013, 09:56 AM   #7
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
I tested KWrite with encoding utf-16. With that encoding, KWrite is able to save the IPA characters, but then other complications develop. For example, KWrite did not work properly under the xfce desktop environment. If I select utf-8, then KWrite works under the xfce the same way it does under kde.
 
Old 07-23-2013, 10:04 AM   #8
parviz
LQ Newbie
 
Registered: Jul 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
Sorry. I made a mistake. KWrite is able to operate very well under xfce, and it does save IPA characters when encoding utf-16 is selected. Thank you so much!
 
Old 07-23-2013, 11:07 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by gdejonge View Post
it sounds more like the default encoding (utf-8) that kwrite uses doesn't support IPA characters.
Look under tools/encoding for the right one. I would first try utf-16.
Both encodings of Unicode support all characters. But UTF-16 is chiefly used in Windows applications, while UTF-8 is the norm for Unix, e-mail systems, and many programming languages. There may be problems using UTF-16 in Linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware- Kwrite and Thunar misbehaving PeterUK Slackware 5 04-16-2013 11:49 AM
[SOLVED] Unable to configure ipa-client in RHEL6 environment pix9 Linux - Server 1 03-08-2013 02:13 AM
IPA on RHEL 6.1. Creating multiple domains. sitnaxerror Linux - Enterprise 3 09-01-2011 06:28 PM
kwrite - show end of line characters? babag Linux - Software 2 06-09-2008 05:04 AM
IPA Displays Router Configuration Page Kronux Linux - Networking 0 02-18-2005 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration