mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
feat: analyze all button, support for UTF8 filenames
This commit is contained in:
@@ -75,3 +75,8 @@ export async function fetchAsBase64(url: string): Promise<string | null> {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
export function encodeFilename(filename: string): string {
|
||||
const encoded = encodeURIComponent(filename)
|
||||
return `UTF-8''${encoded}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user