-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem reading accent letters in database #414
Comments
Definitely sounds like a bug. You're using version 3.7.0 of DB4S yeah? 😄 Btw - Your english is easy to understand. No problems at all. 😁 |
When browsing and editing a table in the Browse Data tab allow the user to change the assumed encoding of the text in the table. We'll then try to convert from this encoding to Unicode for display purposes and to convert from Unicode to this encoding for editing purposes. This way the UI and all tools will keep using Unicode while the database format is still respected. I hope the amount conversions generated this way won't affect the performance too much. See issue #414.
Hei Svein! If you have a up-to-date build running you'll see a new option called 'Set encoding' added to the menu that appears when you right click the table header: A few more notes:
Let me know how this works for you! |
Hi Martin Wow! Thank you very much, all participants. This was quick and amazing! All my tables (aprox. 120 tables) , in two databases uses the old cp1251 format. And again thank you for your great support! Regards |
Add a new menu option to the Browse Data tab for changing the encoding of all tables instead of just the one table. Also check if the encoding the user typed in exists before trying to use it to prevent a crash when an invalid encoding is used. See issue #414.
Hi Svein! |
Hi Martin, I Run a query in "Execute SQL". The result there is still UTF-8. Is it possible to include the selected encoding in the query tab? You guys are awesome. Great support and fast solution. |
Sorry guys, I'm stuck on a Windows box for a few days. (groan) @SveinBerger Do you use Homebrew on OSX? If so, compiling our code is extremely simple. You can cut-n-paste these commands to the command line, and out pops an .app you can run. 😉 https://github.com/sqlitebrowser/sqlitebrowser/blob/master/BUILDING.md#building-an-app-bundle |
Gah, wrong button. Sorry! 👼 |
Hi Justin, Thank you. |
Awesome! Great work @MKleusberg. 😄 |
Hi,
Thanks for a great product.
My Name is Svein Berger (mr.) I'm a Norwegian software developer.
First I want to apologize for my limited knowledge of English. So please try to understand my note.
We are using an technical application that saves data to a SQLite database.
The first version of the program was written in Delphi. Later I rewrote the program in C#.
The character set back then was Windows western europe (same as CP1252)
When I rewrote the program to C# i kept the old character set. That was because it was to complicated to convert the data to UTF-8.
As a Norwegian (it applies to most countries in Europe), we use letters that are outside A..Z like øæå ö ü etc.
At the time we startet to use our database UTF-8 was not the common character sets. The transition to UTF-8 is no problem for those who only use the letters A..Z. But for us who live in countries that have an extended alphabet, the transition to UTF-8 is a challenge for some older systems. The letters A..Z kept the same places in the new character set, but the letters that we use was "shuffled around".
So the result it that when we use a program, liker yours great app, the letters øæå is displayed wrong.
An example: Pressure test is in Norwegian Trykkprøving. But it is like this Trykkpr�ving in DB Browser for SQLite. For all charaters ØÆÅ øæå is displayed like �. Not very nice.
Pleas see attatched screen shot.
If I had written the program to day, I would of course used UFT-8, and everyone would be happy.
I fully understand that you do not add an additional interpretations of the character set in the program. But if you have the opportunity and see this as a challenge, I would be more than happy to test the solution for you.
If I make my self unclear, please ask me and I will try my best to answer you.
Kind regards
Svein Berger
IT Manager
TTC NORGE AS
sveinb@ttc.no
The text was updated successfully, but these errors were encountered: