Click here to Skip to main content
14,878,264 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
Hello,

how to convert non Unicode Bharti GopikaTwo font to Unicode Gujarati font.
any one can know this how to convert this.

thanks
Posted
Updated 29-Oct-20 21:41pm
v5
Comments
   
The question makes no sense as formulated, even though it may refer to some real problem. What exactly do you mean by Unicode or non-Unicode fonts. What kind is the source font, exactly? By the way, why? Gujarati is basically supported on nearly all modern OS, even of you don't add any fonts. I can use Gujarati alphabet on my systems (strictly US English, no fonts added to support any specific culture).
—SA
Ashvinrajkot 5-Oct-14 2:54am
   
any solution suggest me for that convert
   
What "convert"? Did you really read my comment above?
—SA
Ashvinrajkot 7-Oct-14 8:01am
   
any solution for this
Ashvinrajkot 4-Oct-14 8:16am
   
i have one file and this file use B Bharti gopika gujarati font. when copy font and past in asp.net editor then all font format change than i can convert to unicode
below link convert the font but maximum 200 character converted.

http://service.vishalon.net/pramukhfontconverter-gujarati-bhartigopika-unicode.aspx
   
Why did you ignore my questions?
—SA
   
I have an impression that you don't need to "convert" a font, but need to a way to convert texts in encodings assuming such fonts. You need to have the documentation of other artifacts which can help you to learn that encodings, to transcode the text to Unicode. They could be so-called "Extended ASCII", something not really standard...
—SA
Ashvinrajkot 6-Oct-14 1:05am
   
hello,

below font only work when bharti gopika font install other wise below type format display, but open this link http://service.vishalon.net/pramukhfontconverter-gujarati-bhartigopika-unicode.aspx and convert below font bharti gopika to Gujarati then every where working perfectly

ðzk«ÄkLk LkhuLÿ {kuËe yk {rnLkk{kt s y{urhfkLke yiríknkrMkf Þkºkkyu sR hÌkk Au íÞkhu íku{Lke ÞkºkkLku ÷RLku y{urhfk{kt ¼khíkeÞ Mk{wËkÞLkk ÷kufku{kt òuhËkh ¢uÍ Au. 10 rËðMk Ãknu÷k s ÞwyuMk{kt {kuËeLkk þkuLke xefexku çkwf ÚkE [wfe Au. nðu yk þku{kt ¼køk ÷uðk EåAwf yLku {kuËeLku Mkkt¼¤ðk
Ashvinrajkot 6-Oct-14 1:00am
   
hello,

any one can create this type editor. below link open

http://service.vishalon.net/pramukhfontconverter-gujarati-bhartigopika-unicode.aspx
i have create this type of editor convert non Unicode font to Unicode Gujarati font

for help thanks in advanced

It is not the font which is to be converted, but encoding.
Your file uses - likely - an ISCII encoding. Those ISCII encodings are 8bit encodings, and they were made such that when shwoing the contents with a different Indian alphabet ("font"), someone knowing that alphabet could still read the contents. Such behavior may cause confusion. Let me tell you again: it is the encoding which needs to be changed, not the font!
See also http://en.wikipedia.org/wiki/Indian_Script_Code_for_Information_Interchange[^]
   
Comments
Ashvinrajkot 6-Oct-14 2:51am
   
above comment we add formats and we have install bharti gopikatwo font then it's proper display.how to convert if the font ISCII then convert Unicode format
Ashvinrajkot 6-Oct-14 8:45am
   
if the above contain is encoding then how to convert the proper font to read it.
Ashvinrajkot 7-Oct-14 3:07am
   
i don't know this font is ISCII or not
   
Then check it up. Use Solution 2.
—SA
   
5ed.
—SA
Bernhard Hiller 8-Oct-14 2:14am
   
Thanks. Looks like that boy cannot look beyond Google's topmost result...
   
:-)
This is not "converting of font", this is transcoding some text, a trivial problem. You know the second (non-Unicode encoding), and probably Gujarati. Transcode just all characters in question (whole Unicode range) and compare the results using the tool you referenced. You will obtain the transcoding table. Use it to create your own tool. It looks way too easy.

—SA
   
Comments
Ashvinrajkot 8-Oct-14 0:48am
   
hello,
i referred tools only 200 character converted and i will try to make a tools but i am not able to convert them. you can help me to make a this type of tools because my jquery also week.
   
I don't understand. Help with what? How is that related to jQuery. You learn encoding as I advised and create some encoding table (Javascript associative array) or two (one to transcode in one direction another one — to another direction). Code on input character on output (to Unicode), and visa versa.
character = array[code].
—SA
Ashvinrajkot 8-Oct-14 12:56pm
   
i can make a tools on this converter but its not working. so you can help me, i have add below code but not convert

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gujaraticonvert.aspx.cs"
Inherits="gujaraticonvert" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>

<link href="http://service.vishalon.net/css/pramukhtypepad.css" rel="stylesheet"
type="text/css" />
<link href="http://service.vishalon.net/css/pramukhfontconverter.css?v=1.8" rel="Stylesheet" type="text/css" />
<script src="http://service.vishalon.net/js/pramukhime-common.js" type="text/javascript"></script>
<script src="http://service.vishalon.net/tiny_mce/plugins/pramukhime/js/pramukhime.js"
type="text/javascript"></script>
<script src="http://service.vishalon.net/tiny_mce/plugins/pramukhime/js/pramukhindic.js"
type="text/javascript"></script>
<script type="text/javascript" language="javascript">
// allocate variable value
function indicChange(lang)
{
pramukhIME.setLanguage(lang.split(':')[1], lang.split(':')[0]);
}
function setfont() {
var drpfont = document.getElementById('drpNonUnicodeFont');
var fontname = drpfont.options[drpfont.selectedIndex].value.toLowerCase();
document.getElementById('txtNonUnicode').className = language.toLowerCase() + fontname + " " + language.toLowerCase();
}
window.onload = function() {
setfont(); // set proper css class for the selected non unicode font. This function call is required after call back.
pramukhIME.onLanguageChange(scriptChangeCallback);
pramukhIME.addLanguage(PramukhIndic);
pramukhIME.enable("txtUnicode");
//change the language manually for the first time
indicChange(document.getElementById('drpLanguage').value);
// set width and height of dialog
var w = window, d = document, e = d.documentElement, g = d.getElementsByTagName('body')[0], x = w.innerWidth || e.clientWidth || g.clientWidth, y = w.innerHeight || e.clientHeight || g.clientHeight;
var elem = document.getElementById('dialog');
elem.style.top = ((y - 550) / 2) + 'px';
elem.style.left = ((x - 700) / 2) + 'px';
};
</script>
</head>
<body>
<form id="form1" runat="server" action="gujaraticonvert.aspx" method="post">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td colspan="5">
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="3" border="1" class="editor">
<tbody>
<tr class="editortoolbar">
<td>
<div class="iconflex big">
<span class="big" id="lblLanguage1">Gujarati</span> Text in </div>
<div class="iconflex">
<select >
<option value="">Select Non Unicode Font...</option>
<option value="BhartiGopika" selected="selected">Bharti Gopika</option>
<option value="Giridhar">Giridhar</option>
<option value="Gopika">Gopika</option>
<option value="Gopika2">Gopika 2</option>
<option value="GopikaTwo">Gopika Two</option>
<option value="GopikaTwo2">Gopika Two 2</option>
   
Why set font?
—SA
Ashvinrajkot 8-Oct-14 13:28pm
   
Bharti Gopika
Ashvinrajkot 8-Oct-14 13:31pm
   
ðzk«ÄkLk LkhuLÿ {kuËe yk {rnLkk{kt s y{urhfkLke yiríknkrMkf Þkºkkyu sR hÌkk Au íÞkhu íku{Lke ÞkºkkLku ÷RLku y{urhfk{kt ¼khíkeÞ Mk{wËkÞLkk ÷kufku{kt òuhËkh ¢uÍ Au. 10 rËðMk Ãknu÷k s ÞwyuMk{kt {kuËeLkk þkuLke xefexku çkwf ÚkE [wfe Au. nðu yk þku{kt ¼køk ÷uðk EåAwf yLku {kuËeLku Mkkt¼¤ðk

this font apply Bharti Gopika then proper display.
   
You should just use any font supporting the Unicode ranges you need. No need to change it dynamically.
—SA
Ashvinrajkot 8-Oct-14 14:10pm
   
how ???
   
There is no "how". Just use some fixed font.
—SA
Ashvinrajkot 8-Oct-14 14:24pm
   
yes i know that but problem is that in Editor apply the font class
then display proper but when open HTML code view then all the tag can converted to gujarati and do not understand which start tag or end tag.
   
Are you talking about CSS classes? They don't have tags.
—SA
Ashvinrajkot 8-Oct-14 14:31pm
   
no i talk about like e.g. <p></p>,

,

   
Whatever it is, this is unrelated to your question. Do you really have any problems with HTML? What is that? It could be a different question.
And I cannot get it: are you still thinking about using any font supporting non-Unicode encoding? Don't do it. Transcode data and, if possible, get rid of non-Unicode data at all.

What is the problem with the font? Perhaps you want to embed a font in your page(s)? This is possible to do via CSS.

—SA
Ashvinrajkot 8-Oct-14 14:11pm
   
you can seen me above font proper readable formate.
Ashvinrajkot 8-Oct-14 13:34pm
   
ðzk«ÄkLk LkhuLÿ {kuËe yk {rnLkk{kt s y{urhfkLke yiríknkrMkf Þkºkkyu sR hÌkk Au íÞkhu íku{Lke ÞkºkkLku ÷RLku y{urhfk{kt ¼khíkeÞ Mk{wËkÞLkk ÷kufku{kt òuhËkh ¢uÍ Au. 10 rËðMk Ãknu÷k s ÞwyuMk{kt {kuËeLkk þkuLke xefexku çkwf ÚkE [wfe Au. nðu yk þku{kt ¼køk ÷uðk EåAwf yLku {kuËeLku Mkkt¼¤ðk

Apply this font bhari gopika then proper display and convert to unicode then (notepad or word) paste then no need to required Bharti gopika font to display
how can i get b bharti gopika two font
   
Comments
CHill60 30-Oct-20 5:01am
   
This is not a solution to this question. If you want to question or comment on one of the posts use the "Have a Question or Comment?" link next to it. Or try doing some Research[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900