5

Tried select to_ascii('capo','LATIN1'), to_ascii('çapo','LATIN1') and the results are different....

1 Answer 1

3

Look here.

CREATE FUNCTION to_ascii(bytea, name) RETURNS text STRICT AS 'to_ascii_encname' LANGUAGE internal; 

and then just use it like this:

SELECT to_ascii(convert_to('Übermeier', 'latin1'), 'latin1'); 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.