[Pkg-pascal-devel] Lazarus lintian warnings

Peter B peter at pblackman.plus.com
Wed Oct 23 15:47:32 BST 2024


On 21/10/2024 16:22, Paul Gevers wrote:
> Hi,
>
> On 21-10-2024 17:15, Peter Blackman wrote:
>> 4) national-encoding
>> "Support for national encodings is being phased out.
>> Please convert the file to UTF-8 using iconv or a similar tool."
>>
>> This would be a real problem for certain locales if the support 
>> disappears. Could run iconv in dh_install.
>
> I think I looked at this once, I recall for some files it's not clear 
> *how* the conversion should be done. (Maybe that was in fpc, I'm not 
> sure). I think this isn't worth fixing if it's not trivial and 
> obviously correct.
>

Hi Paul,

Yes, its turning out not be quite the walk in the park I was anticipating!
To convert, the original encoding must be explicitly stated.
There does not seem to be any command line tool that does this well.

However, It can be determined using Firefox.
(Open the file, go to Tools -> Page Info)
recode can do the conversion (I used it for C-evo where I'm also the 
upstream)


Cheers,
Peter



More information about the Pkg-pascal-devel mailing list