I am going write an application in C++ that allows the user to see two languages at once, and allows them to search each individual language for words or keywords. I have a font that I made specially for the non-English language, which would allow me to simply use different fonts for each specific language. I could also control how the search works simply by reading the font tags, for each language, so I only get results in that specific language. (I will have two seperate text boxes, one for each language for searching, that way when someone types in the seach word it appears correctly in that language, and they won't have to change fonts all the time. The language is Ancient Greek BTW. So with this form of implementation, I would not need to have the user set their machine up for UNICODE. Less trouble for the user to install the program.
On the other hand, I am at the beginning stage of this project and I could very well set it up as a UNICODE program, which would have the advantage of allowing me to use more specific characters. (that is not a very high priority thing, so I am thinking about using the first approach). But I don't want to start a project like this though, and then later on discover that it is a bad approach and that I should have done it the other way!
So I thought I might ask in this forum regarding this issue, just what you guys think regarding starting a project like this, would you say UNICODE is the better approach or would you say using a seperate font is better?
2 2141 JosAH 11,448
Recognized Expert MVP
I suggest you'd reconsider the Unicode approach again before problems pile up; note that most (if not all) Microsoft Windows platforms are bundled with the MS Arial Unicode font glyphs; that font includes all of the Greek font glyphs too.
kind regards,
Jos
Keep in mind that if you are using Windows, only Unicode is supported. The ASCII functions convert the ASCII to Unicode and then call the Unicode versions.
Better to start off with Unicode.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Matt Price |
last post by:
Hello,
I'm a python (& xml, & unicode!) newbie working on an interface to a
bibliographic reference server (refdb); I'm running into some encoding
problems & am ifnding the plethora of tools a little confusing. Here
is the basic situation:
I connect to the server and receive an xml document whose content is a
bibliographic dataset. The document can be encoded in two ways:
ISO-8859-1 or unicode. My program simply takes the document...
|
by: Chris |
last post by:
hi,
to convert excel files via csv to xml or whatever I frequently use the
csv module which is really nice for quick scripts. problem are of course
non ascii characters like german umlauts, EURO currency symbol etc.
the current csv module cannot handle unicode the docs say, is there any
workaround or is unicode support planned for the near future? in most
cases support for characters in iso-8859-1(5) would be ok for my
purposes but of...
|
by: Frank Gewalt |
last post by:
Hi
My problem is that unicode fonts like cyrillic fonts are not shown
correctly in combo boxes with Windows 98. I'm using 'MS Sans Serif'
and 'Tahoma' fonts. Has somebody a solution for that?
|
by: Robert |
last post by:
Hello,
I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this:
I want to use win32-fuctions like win32ui.MessageBox,
listctrl.InsertItem ..... to get unicode strings on the screen - best
results according to the platform/language settings (mainly XP Home,
W2K, ...).
Also unicode strings should be displayed as nice as possible at the
console with normal print-s to stdout (on varying platforms, different
|
by: Markus Ernst |
last post by:
Hi
I generate Unicode PDFs with TCPDF, a Unicode compatible extension of FPDF.
While in newer Acrobat Reader versions the PDFs are displayed well,
Acrobat Reader 4 (on both Mac OS 9.2 and Windows 98) displays weird
characters. The fonts informations dialog shows that the fonts are
embedded as TrueType (CID) in Identity-H encoding. I use the default
Vera fonts delivered with TCPDF.
| |
by: Stuart McGraw |
last post by:
In the announcement for Python-2.3
http://groups.google.com/group/comp.lang.python/msg/287e94d9fe25388d?hl=en
it says "raw_input(): can now return Unicode objects".
But I didn't see anything about this in Andrew Kuchling's
"2.3 What's New", nor does the current python docs for
raw_input() say anything about this. A test on a MS
Windows system with a cp932 (japanese) default locale
shows the object returned by raw_input() is a str()...
|
by: Jim |
last post by:
Hello,
I'm trying to write exception-handling code that is OK in the
presence
of unicode error messages. I seem to have gotten all mixed up and
I'd
appreciate any un-mixing that anyone can give me.
I'm used to writing code like this.
|
by: Torsten Bronger |
last post by:
Hallöchen!
I sub-classed unicode in an own class called "Excerpt", and now I
try to implement a __unicode__ method. In this method, I want to
get the actual value of the instance, i.e. the unicode string:
def __unicode__(self):
"""Returns the Unicode representation of Excerpt. Note that this is buffered,
so don't be afraid of calling it many times.
|
by: Victor Lin |
last post by:
Hi,
I'm writting a application using python standard logging system. I
encounter some problem with unicode message passed to logging library.
I found that unicode message will be messed up by logging handler.
piese of StreamHandler:
try:
self.stream.write(fs % msg)
except UnicodeError:
|
by: Yves Dorfsman |
last post by:
Can you put UTF-8 characters in a dbhash in python 2.5 ?
It fails when I try:
#!/bin/env python
# -*- coding: utf-8 -*-
import dbhash
db = dbhash.open('dbfile.db', 'w')
db = u'☺'
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |