Encoding loss when changing window type

El

Member²
Hello:

For example I have a file encoded in ANSI like this opened in a "Program Window" :

CREATE OR REPLACE FUNCTION test RETURN VARCHAR2 IS
functionresult VARCHAR2;
BEGIN
functionresult := 'áéíóú';

RETURN(functionresult);
END test;

When option "Change Window to -> SQL Window" is used the text is corrupted like this:

functionresult := '�����';

If it helps, I have it set in "Preferences -> Format -> Encoding -> Autodetect (ANSI or UTF8)"

Best Regards

before.png after.png
 
I can confirm the problem.
I have unicode disabled, and tried to set Preferences -> Format -> Encoding -> Always ANSI , but it does not solves the problem.
 
Back
Top