LinuxQuestions.org
Review your favorite Linux distribution.
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 08-30-2006, 04:56 PM   #1
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Rep: Reputation: 31
Writing HTML pages in cyrillic


Hi!

I'm trying to write some HTML pages in bulgarian using cyrillic alphabet. It works fine when I use a CMS, but doesn't work when I write the pages myself using an editor. When I use for example Kedit, the letters are correctly written in cyrillic. When I look the result on a web browser (which can read cyrillic), I only get ????????? every where. I also tried with Quanta, but I get the same result: writing goes fine, when I click on preview, I only get ?????????.

I tried with charset=windows-1251 and with charset=utf-8.

Hier is an example of an html page of mine:
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="bg" xmlns="http://www.w3.org/1999/xhtml" xml:lang="bg">
<head>
<title>Мила Родино</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<html>
<h1>До цкоро!</h1><br>
Документация на български език
</html>
I Only got it write with open office but I would like to work with a simple editor in order to do my layout myself.
here is the code from open office:
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-15">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.0 (Linux)">
<META NAME="CREATED" CONTENT="20060830;23573000">
<META NAME="CHANGED" CONTENT="20060831;1300">
</HEAD>
<BODY LANG="bg-BG" DIR="LTR">
<P ALIGN=CENTER><B>Добре!</B></P>
<P ALIGN=CENTER><B>И сега?</B></P>
<P><BR><BR>
</P>
<P><BR><BR>
</P>
</BODY>
</HTML>
How may I work with a simple editor in order to have cyrillic letters in the source code and not those &#1089?!
thanks.

Last edited by xpucto; 08-30-2006 at 05:07 PM.
 
Old 08-30-2006, 06:09 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I just tried both of your code sets. The first works; the second fails.

charset=iso-8859-15 is for Finnish; charset=iso-8859-5 is for Cryllic.
 
Old 09-03-2006, 07:00 AM   #3
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 524

Original Poster
Rep: Reputation: 31
I made quite a lot of test and I realized that the problem comes not from the code but from the editor itself. I installed every components for bulgarian in KDE but it doesn't help. The only working solution so far is the use of mozilla composer.
 
  


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
Viewing html pages on localhost threelions66 Linux - Newbie 3 08-05-2006 06:22 PM
can't view html pages in IE thisObject Linux - Software 4 05-07-2006 10:55 AM
Mozilla 1.7.8 and printing of cyrillic pages BerzinTehvs Slackware 1 06-07-2005 08:57 AM
Cookie Sharing Between CGI generated HTML pages and standard HTML pages rkwhited Linux - Newbie 5 08-15-2004 07:39 AM
loading html pages with php BaudRacer Programming 3 12-03-2003 08:34 AM

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

All times are GMT -5. The time now is 09:42 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