473,881 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

convert sqlite ANSI to UTF-8

I used sqliteadmin to manage my sqlite database and I copy past
queries translated from mysql phpmyadmin output it worked (little
slowly but worked...), the only problem now is that sqliteadmin stored
my hebrew char as ANSI instead of UTF-8 and now I don't know how to
search data from this table.

How can I convert my database string from ANSI to UTF-8

Thanks!
Jun 27 '08 #1
1 6267
On Jun 11, 10:04*am, Gandalf <goldn...@gmail .comwrote:
I used sqliteadmin to manage my sqlite database and I copy past
queries translated from mysql phpmyadmin output it worked (little
slowly but worked...), the only problem now is that sqliteadmin stored
my hebrew char as ANSI instead of UTF-8 and now I don't know how to
search data from this table.

How can I convert my database string from ANSI to UTF-8

Thanks!
You'll want to look at how to do encoding. Google is amazing! See what
it provided me:

http://docs.python.org/tut/node5.htm...00000000000000
http://www.diveintopython.org/xml_pr...g/unicode.html
http://evanjones.ca/python-utf8.html
http://www.reportlab.com/i18n/python..._tutorial.html

Mike
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
5554
by: lawrence | last post by:
Validator chokes on my pages now because I started sending an character encoding header of UTF-8 but the page is full of non UTF-8 characters. Anyway quick way to convert them? http://validator.w3.org/check?uri=http%3A%2F%2Fwww.krubner.com%2F
3
52549
by: Jan Eliasen | last post by:
Hi I have a string, which I must convert into another string and have it utf-8 encoded. My current code looks like this; Both vDataIn and vDataOut are Objects (parameters to a function-call), and vDataIn contains a string, and that is also what vDataOut must contain when I am done.
1
1666
by: ZSP747 | last post by:
How can I get the encode of a txt file and convert it into UTF-8? I just want to find a class can do this in a simple way. And if I want to handled a UTF-8 string which class should it use? Can ofstream output files in UTF-8?How can I do it? Thanks.
1
14424
by: Matthias Langbein | last post by:
Hi all, in my script I need to find out the encoding of a file and in case it is not of the kind UTF-8 I need to convert it to that format. Any hints?? Thanks
3
6917
by: Jared Wiltshire | last post by:
I'm trying to convert a wstring (actually a BSTR) to UTF-8. This is what I've currently got: size_t arraySize; setlocale(LC_CTYPE,"C-UTF-8"); arraySize = wcstombs(NULL, wstr, 0); char utf8string; wcstombs(utf8string, Name, arraySize + 1);
9
13653
by: emagzz | last post by:
Hi all, I need to convert many text file from ANSI to UNICODE. Some body knows if there is a free utility that can do this from the command line so as I can use it inside a batch file. Thank you Emanuele
5
5718
by: Niclas | last post by:
Hi I'm having trouble to work with the special charcters in swedish (Å Ä Ö å ä ö). The script is parsing and extracting information from a webpage. This works fine and I get all the data correctly. The information is then added to a rss file (using xml.dom.minidom.Document() to create the file), this is where it goes wrong. Letters like Å ä ö get messed up and the rss file does not validate. How can I convert the data to UTF-8 without...
2
4236
by: Hasna | last post by:
I am having list of xml file in ansi format, i want to convert xml file to UTF-8 format.
1
1880
by: Siegfried Heintze | last post by:
Does someone have a little python script that will read a file in UTF-8/UTF-16/UTF-32 (my choice) and search for all the characters between 0x7f-0xffffff and convert them to an ASCII digit string that begins with "&#" and ends with ";" and output the whole thing? If not, could someone tell me how to write one? How about a script to do the inverse? Thanks! siegfried
0
9930
marktang
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...
0
9776
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,...
0
11103
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10720
jinu1996
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...
0
10403
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9555
agi2029
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...
1
7953
isladogs
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...
1
4597
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
3
3225
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.