Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cause unicode problem #10

Open
webszy opened this issue Nov 1, 2021 · 8 comments
Open

cause unicode problem #10

webszy opened this issue Nov 1, 2021 · 8 comments

Comments

@webszy
Copy link

webszy commented Nov 1, 2021

i use the vite2.6.13 and vite-plugin-vue2,1.9.0,the files parsed unicode problem,and cannot correctly display
then output all the file just like this:
�4�ŒÔV7„‰«î§î§•œõž@º�¿ÕaÑ9å´�y�K+��«†ÎÙ��¡ben÷.µÓƧ(&Žò�ªzU(�� Ñ�íP1gÛŽž� [rJ��Vð’��ƒk]/ó��r(ˆŸ!¢ÈJQì•ÿo#Áô�0ßUM5¾û™9�wU¬˜éØ*‰ 7”#!Z²�¹™�»I��^£Ô¤$¨yc�ëH¶6œ¤y7 Û�¢eæ�«êj�:÷ëåö¹obSH;W{O£Õ…�P;bAHGQb]€�0—µ k45�X…!Å_�ihTQ¥0�’Í�õ&�'Y�+\°�L°Ú ɾ-1ðþ/NGõ8’|ú±×zøEÙ2MÒ²Œfe��ßO~�¤¹Ó»Ç‹é&œgp� °'Ğg�´Æë�_;#9º�.Æìº÷4�­F�£w®(×qh<ãøƒ�/�¼©}°/îým˜m‡ruoëH �"ƒ;”¥ªŠ0V�==hïC€’‘êPc…é½L�­IÖôé1„®«RÛ#©�9�PÕ©�žc�ÊÀê-кj€ø‘dãqÕ+ÆÏÇ4 ‹ÔÂ�PŠÄ²§cvÄM¾È�æô3×4p$Zëœp&^,{†±VÖT24oW?e=œú¸^ïh{¡='Eë)�¯;ãDõÈê•yéö…Ø{ám*¶�Ø3–aq­ZÇ…���}«hš®¶ å‚Ù1Hi¶X:•í=³ÂgT�¥Þe‹�ÿ= c�“Þ�ÖÈ�¸®�Û»ÃbÉž…Ç�,Û,`��HøÛl‚xA3º�†�‡¤�Ÿ'|í7C:k�KŒñÈ&ˆ�t�Aë�÷�½+Z «CÅæ�ßëx,Y¶?â�e�¡ôš�òn ·±�IZá|µ,û8¼ò�! �7.D�Ge€BͫֆݪÓñt3�ÇĦû—��§=”�Q[.YÓtRÏÆuôïà�Àn�¯îa§²Ÿ

@manongLY
Copy link

manongLY commented Nov 9, 2021

I have met the same problem

@tianjie326git
Copy link

me too

1 similar comment
@DemonGao
Copy link

DemonGao commented Apr 6, 2022

me too

@andrecasal
Copy link

Me too.

Any idea how to fix this?

@alloc alloc deleted a comment from andrecasal Apr 15, 2022
@aleclarson
Copy link
Contributor

If you want this fixed, fork this repo and implement a minimal reproduction in its ./demo folder. Thank you

@andreacfromtheapp
Copy link

fwiw, same here. repo: github.com/gacallea/anerandros.info/

    "vite": "^2.9.7",
    "vite-plugin-compress": "^2.1.1"
import { defineConfig } from 'vite'
import compress from 'vite-plugin-compress'

export default defineConfig({
  plugins: [compress()],
})

@Makio64
Copy link

Makio64 commented Jul 22, 2022

Got the same error, just installing compress and adding it to my vite project.

@bestwestern
Copy link

I get the same problem.
Windows 10
node 16.17
vite-plugin-compress 2.1.1
vite 3.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants