Questions tagged [cp1250]

22 questions
32
votes
3 answers

DBeaver file encoding (cp1250 - Windows-1250) - change default encoding?

I have a problem setting encoding in DBeaver, specifically SQL file encoding (not db encoding!) to cp1250 (Windows-1250) No problem to set such encoding for new files/scripts - right click on Scripts folder (or the whole project folder, from which…
Tom
  • 423
  • 1
  • 4
  • 13
6
votes
2 answers

STDIN and Powershell - How do I make the encoding match?

I have a problem with Ruby (1.9.3) and Powershell. I need to write an interactive console app which will deal with sentences in the Polish language. I've been helped out and can retrieve ARGV elements with Polish diacritics, but the Standard Input…
SY.
  • 181
  • 1
  • 10
4
votes
2 answers

mb_detect_encoding doesn't properly working with Windows-1250 (CP1250)

I have problem with detecting CP1250 in mb_detect_encoding(), in my case I want detect 3 encodings: mb_detect_encoding($string, 'UTF-8,ISO-8859-2,Windows-1250') But Windows isn't in supported encodings, any solution?
Piotr Olaszewski
  • 6,017
  • 5
  • 38
  • 65
3
votes
1 answer

Convert string from codepage 1252 to 1250

How can I convert one String with characters decoded in codepage 1252 into a String decoded in codepage 1250. For example String str1252 = "ê¹ś¿źæñ³ó"; String str1250 = convert(str1252); System.out.print(str1250); I want to find such convert()…
rafalry
  • 2,620
  • 6
  • 24
  • 39
3
votes
3 answers

java.util.Properties and Cp1250

Can I use java.util.Properties with encoding different then default?
IAdapter
  • 62,595
  • 73
  • 179
  • 242
2
votes
1 answer

Encoding conversion in PHP (ISO-8859-1, UTF-8, CP1250)

I want to work with data from CSV file, but I realized letters are not showing correctly. I tried million ways to convert the encoding but nothing works. Working on MacOS, PHP 7.4.4. After executing fgets() or fgetcsv() on handle variable, I will…
2
votes
1 answer

Why does the acute gets separated from its base letter when making an insert to an oracle database via Powershell?

i am using Powershell to execute an insert statement and insert a string into a database table. The text I want to insert I get from an HTTP-Request to Confluence's REST API and containts Czech characters. Following code snipet does the job of…
1
vote
1 answer

Character encoding problem - I suppose (UTF-8 - JS and Windows1250 - PHP)

all my problems so far I resolved by serching this forum, but now I reched to a wall.. :) mayby the problem is I'm don't know what question to ask.. So my problem is: I have submiting form in witch user put tracking list number - and for some…
1
vote
1 answer

Qt5 C++ UTF-8 convertion to Windows-1250 of Romanian ș and ț characters

My application is developed in C++'11 and uses Qt5. In this application, I need to store a UTF-8 text as Windows-1250 coded file. I tried two following ways and both work expect for Romanian 'ș' and 'ț' characters :( 1. auto data =…
avf
  • 61
  • 1
  • 8
1
vote
0 answers

How to set charset in import CSV file to mysql database?

I wrote a code that imports data from a CSV file into the database. However, I have a problem with setting charset on cp1250. When I use Polish characters in the database I see strange characters. I tried to use the SET NAMES function, but it does…
Sebastian
  • 43
  • 6
1
vote
1 answer

SQL_Hungarian_CP1250_CI_AS behaves as case sensitive

SQL_Hungarian_CP1250_CI_AS behaves as case sensitive although the collation is CI (case insensitive). The root cause for it is that the Hungarian Language which has 2 families of Hungarian in SQL Server. select * from sys.objects where name like…
Ida Amit
  • 1,411
  • 2
  • 13
  • 27
1
vote
2 answers

Java converts standard String to CP1250 with only one byte for every char

I need to convert standard String to CP1250 with only one byte for every char, so for example polish char 'ł' should be parsed to 0xB3, no unicode with two bytes. When I'm trying to do something like that: byte[] array = "ała".getBytes(); s = new…
Kamil S
  • 13
  • 4
1
vote
2 answers

Java Convert UTF-8 Text File to Cp1250

I'm trying to convert UTF-8 text file into Windows-1250. I'm using Java 6 API. I've used code below, but the result is definitely not a Cp1250. import java.io.*; public class testing { public static void main (String[] args) throws…
user3416100
  • 13
  • 1
  • 3
1
vote
1 answer

Encoding UTF-8 for Czech chars

I want to ask you, as a beginner, what basic settings for the document encoding are you doing with UTF-8? An example how I do it below and am asking about repair if something is wrong. I want to rely on all devices in different browsers with…
user3120196
  • 23
  • 1
  • 4
1
vote
1 answer

How to change charset to CP1250 in Aptana Studio 3?

I used PSPad with CP1250 charset and now i switch to Aptana Studio 3 and I have problem with encoding. Is it possible to add new charset to Aptana? Because, in Aptana are charsets UTF-8, UTF-16 and ISO-8859-1 but no one works. (Sorry for bad…
1
2